summaryrefslogtreecommitdiffstats
path: root/.scripts/autostart/Makefile
diff options
context:
space:
mode:
authorroot <root@miefda901.localdomain>2011-05-26 15:52:03 +0200
committerroot <root@miefda901.localdomain>2011-05-26 15:52:03 +0200
commit506c0bbf04754c58574badc4113e0502da29e782 (patch)
treea6c33cb5cb26df4085898f743eff484556e55a3a /.scripts/autostart/Makefile
parent2e6a0189e7cf74bfe0438c38ba12d1b5048cb2d5 (diff)
parent070edd0a3bc378483081c6e840dafa90ac1bfe19 (diff)
Merge branch 'master' of github.com:miefda/retiolum
Diffstat (limited to '.scripts/autostart/Makefile')
-rw-r--r--.scripts/autostart/Makefile8
1 files changed, 8 insertions, 0 deletions
diff --git a/.scripts/autostart/Makefile b/.scripts/autostart/Makefile
new file mode 100644
index 00000000..7ca589e1
--- /dev/null
+++ b/.scripts/autostart/Makefile
@@ -0,0 +1,8 @@
+INIT_FOLDER=/etc/init.d
+.phony: all
+all:
+ #TODO change the tinc file before writing
+ cp tinc $(INIT_FOLDER)/tinc
+ chmod +x $(INIT_FOLDER)/tinc
+ echo "retiolum" > /etc/tinc/nets.boot
+ update-rc.d tinc defaults