From 4aa0bab545f5f28200ea16ee581d6eff39e94d6d Mon Sep 17 00:00:00 2001 From: makefu Date: Sat, 10 Mar 2012 22:50:44 +0100 Subject: fix Makefile in case tincd does not yet exist --- retiolum/Makefile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'retiolum/Makefile') diff --git a/retiolum/Makefile b/retiolum/Makefile index cd0a543c..ee1526d4 100644 --- a/retiolum/Makefile +++ b/retiolum/Makefile @@ -17,13 +17,13 @@ install: upgrade upgrade: update if ! 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 bin/restart-tincd || :; \ fi update: hosts - bin/update_tinc_hosts "create magic" || true + bin/update_tinc_hosts "create magic" || :; bin/update_tinc_hosts restart sudo pkill -HUP tincd || :; hosts: - bin/update-retiolum-hosts || true + bin/update-retiolum-hosts || :; -- cgit v1.2.3 From b64eb207e73a9d166483c811c827692201bf732f Mon Sep 17 00:00:00 2001 From: makefu Date: Sat, 10 Mar 2012 22:51:36 +0100 Subject: fix broken punani call --- retiolum/Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'retiolum/Makefile') diff --git a/retiolum/Makefile b/retiolum/Makefile index ee1526d4..668ee58e 100644 --- a/retiolum/Makefile +++ b/retiolum/Makefile @@ -9,9 +9,9 @@ links: install: upgrade - ../punani/bin/punani tinc python + ../punani/bin/punani install tinc python scripts/tinc_setup/install.sh - cp scripts/tinc_setup/tinc-up /etc/tinc/retiolum/tinc-up + sudo cp scripts/tinc_setup/tinc-up /etc/tinc/retiolum/tinc-up scripts/autostart/create-startup.sh upgrade: update -- cgit v1.2.3 From 8ef881f4cc499cb79fb427b0ce04c1c82d37125e Mon Sep 17 00:00:00 2001 From: makefu Date: Thu, 5 Jul 2012 00:24:12 +0200 Subject: //retiolum -v flag not supported by old or retarded systems (openwrt) --- retiolum/Makefile | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'retiolum/Makefile') diff --git a/retiolum/Makefile b/retiolum/Makefile index 668ee58e..a8ae0973 100644 --- a/retiolum/Makefile +++ b/retiolum/Makefile @@ -5,14 +5,13 @@ EXES := update_tinc_hosts fillxx update-retiolum-hosts all: update links links: - for x in $(EXES); do ln -vsnf ../retiolum/bin/$$x ../bin; done + for x in $(EXES); do ln -snf ../retiolum/bin/$$x ../bin; done 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 - scripts/autostart/create-startup.sh upgrade: update if ! diff -u scripts/tinc_setup/tinc-up /etc/tinc/retiolum/tinc-up; then \ @@ -25,5 +24,8 @@ update: hosts bin/update_tinc_hosts restart sudo pkill -HUP tincd || :; +startup: + scripts/autostart/create-startup.sh + hosts: bin/update-retiolum-hosts || :; -- cgit v1.2.3