diff options
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 |