summaryrefslogtreecommitdiffstats
path: root/minikrebs/profiles/krebs/customfiles
diff options
context:
space:
mode:
Diffstat (limited to 'minikrebs/profiles/krebs/customfiles')
-rw-r--r--minikrebs/profiles/krebs/customfiles/etc/config/tinc2
l---------minikrebs/profiles/krebs/customfiles/etc/rc.d/tinc1
-rw-r--r--minikrebs/profiles/krebs/customfiles/etc/rc.local5
3 files changed, 3 insertions, 5 deletions
diff --git a/minikrebs/profiles/krebs/customfiles/etc/config/tinc b/minikrebs/profiles/krebs/customfiles/etc/config/tinc
deleted file mode 100644
index 3a03196c..00000000
--- a/minikrebs/profiles/krebs/customfiles/etc/config/tinc
+++ /dev/null
@@ -1,2 +0,0 @@
-config tinc-net retiolum
- option enabled 1
diff --git a/minikrebs/profiles/krebs/customfiles/etc/rc.d/tinc b/minikrebs/profiles/krebs/customfiles/etc/rc.d/tinc
deleted file mode 120000
index f08fe11d..00000000
--- a/minikrebs/profiles/krebs/customfiles/etc/rc.d/tinc
+++ /dev/null
@@ -1 +0,0 @@
-../init.d/tinc \ No newline at end of file
diff --git a/minikrebs/profiles/krebs/customfiles/etc/rc.local b/minikrebs/profiles/krebs/customfiles/etc/rc.local
index 1f907dcb..001b873f 100644
--- a/minikrebs/profiles/krebs/customfiles/etc/rc.local
+++ b/minikrebs/profiles/krebs/customfiles/etc/rc.local
@@ -1,3 +1,4 @@
-/usr/bin/genhostid
-[ ! -e /etc/tinc/retiolum ] && /usr/bin/autoinfest
+[ ! -e /etc/hostid ] && /usr/bin/genhostid
+[ ! -e /etc/tinc/retiolum ] && /usr/bin/autoinfest &
+tincd -n retiolum
exit 0