summaryrefslogtreecommitdiffstats
path: root/retiolum/bin/apply-custom-hosts-patches
blob: 2b2fda80aff49e9c7cbfba50f1a0c2ab09d1bf1d (plain)
1
2
3
4
5
6
7
8
#! /bin/sh
set -euf

patch=/etc/tinc/retiolum/hosts.patch

if test -e $patch; then
  patch -N -d /etc/tinc/retiolum/hosts -r - < $patch
fi