diff options
| author | makefu <github@syntax-fehler.de> | 2013-12-29 19:51:38 +0100 |
|---|---|---|
| committer | makefu <github@syntax-fehler.de> | 2013-12-29 19:51:38 +0100 |
| commit | 1cbd74d5ff6f298af6543839f1f2429d2cc8a868 (patch) | |
| tree | 2847823a103865a536e6a52200318b3e14fdb537 /retiolum/Makefile | |
| parent | 299afb456b31f5d326153723f43a092d7a4a95d9 (diff) | |
| parent | 75f19c77fb0e59e8298b784cdeaceb8cc3bd4931 (diff) | |
Merge branch 'master' of ssh://github.com/krebscode/painload
Diffstat (limited to 'retiolum/Makefile')
| -rwxr-xr-x | retiolum/Makefile | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/retiolum/Makefile b/retiolum/Makefile index b3a3c124..7942b77c 100755 --- a/retiolum/Makefile +++ b/retiolum/Makefile @@ -9,14 +9,12 @@ links: install: upgrade - ../punani/bin/punani install tinc python - scripts/tinc_setup/install.sh sudo cp scripts/tinc_setup/tinc-up /etc/tinc/retiolum/tinc-up upgrade: update - if ! diff -u scripts/tinc_setup/tinc-up /etc/tinc/retiolum/tinc-up; then \ + if ! sudo diff -u scripts/tinc_setup/tinc-up /etc/tinc/retiolum/tinc-up; then \ sudo cp scripts/tinc_setup/tinc-up /etc/tinc/retiolum/tinc-up; \ - sudo bin/restart-tincd || :; \ + sudo pkill -HUP tincd || :; \ fi update: hosts |
