diff options
author | Felix Richter <Felix.Richter@syntax-fehler.de> | 2011-05-28 22:41:20 +0200 |
---|---|---|
committer | Felix Richter <Felix.Richter@syntax-fehler.de> | 2011-05-28 22:41:20 +0200 |
commit | 5392511e88b7ca77b88b3d16f5991bde70823144 (patch) | |
tree | 79cb4fdaa49d685c908fef955ed3ec75950aab68 /modules/retiolum/scripts/autostart | |
parent | e03f97e961fb71a1188b6902aa8c6406cd816bcc (diff) |
install.sh: bugfixes/ does the right thing now
autostart/Makefile: fixed paths as this will only work with debian anyway
Diffstat (limited to 'modules/retiolum/scripts/autostart')
-rw-r--r-- | modules/retiolum/scripts/autostart/Makefile | 12 |
1 files changed, 9 insertions, 3 deletions
diff --git a/modules/retiolum/scripts/autostart/Makefile b/modules/retiolum/scripts/autostart/Makefile index 7ca589e1..aba6bd33 100644 --- a/modules/retiolum/scripts/autostart/Makefile +++ b/modules/retiolum/scripts/autostart/Makefile @@ -1,8 +1,14 @@ INIT_FOLDER=/etc/init.d .phony: all -all: +debian: #TODO change the tinc file before writing - cp tinc $(INIT_FOLDER)/tinc - chmod +x $(INIT_FOLDER)/tinc + cp tinc /etc/init.d/tinc + chmod +x /etc/init.d echo "retiolum" > /etc/tinc/nets.boot update-rc.d tinc defaults +arch: + @cp tinc /etc/rc.d + @chmod +x /etc/rc.d/tinc + @echo "add tinc to DAEMONS in /etc/rc.conf" + + |