diff options
author | tv <tv@also> | 2011-05-29 14:28:06 +0200 |
---|---|---|
committer | tv <tv@also> | 2011-05-29 14:28:06 +0200 |
commit | 6ab10542e484d12e1635a016860e27e8167e5185 (patch) | |
tree | ba5acc68d05538ee1396f09e9724b05eaf389725 /modules/retiolum/scripts/autostart/Makefile | |
parent | 9ea4cbe1e006f703d1367f5aa3229849775b7128 (diff) | |
parent | b7e9b977884f8d4d6149b06e3567f288b920daa6 (diff) |
Merge branch 'master' of github.com:krebscode/painload
Diffstat (limited to 'modules/retiolum/scripts/autostart/Makefile')
-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" + + |