diff options
author | makefu <root@pigstarter.de> | 2013-01-14 15:59:16 +0000 |
---|---|---|
committer | makefu <root@pigstarter.de> | 2013-01-14 15:59:16 +0000 |
commit | 586da6a885ea6fced94e133bcfd965956eb92c75 (patch) | |
tree | 799df7f7641e4d9973e6e3dc2c442acf881ddf5d /retiolum/bin | |
parent | a2195f3c9f382acebcf49b3043944f34609e4550 (diff) | |
parent | 47a6395ee891488be4becd1f3292bd28811f0069 (diff) |
Merge branch 'master' of https://github.com/krebscode/painload
Diffstat (limited to 'retiolum/bin')
-rwxr-xr-x | retiolum/bin/apply-custom-hosts-patches | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/retiolum/bin/apply-custom-hosts-patches b/retiolum/bin/apply-custom-hosts-patches new file mode 100755 index 00000000..2b2fda80 --- /dev/null +++ b/retiolum/bin/apply-custom-hosts-patches @@ -0,0 +1,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 |