summaryrefslogtreecommitdiff
path: root/package/olsrd/files
diff options
context:
space:
mode:
Diffstat (limited to 'package/olsrd/files')
-rw-r--r--package/olsrd/files/olsrd-mod-secure.conffiles1
-rw-r--r--package/olsrd/files/olsrd.conffiles1
-rw-r--r--package/olsrd/files/olsrd.init4
-rw-r--r--package/olsrd/files/olsrd.postinst3
4 files changed, 8 insertions, 1 deletions
diff --git a/package/olsrd/files/olsrd-mod-secure.conffiles b/package/olsrd/files/olsrd-mod-secure.conffiles
new file mode 100644
index 000000000..34e90b80a
--- /dev/null
+++ b/package/olsrd/files/olsrd-mod-secure.conffiles
@@ -0,0 +1 @@
+/etc/olsrd.d/olsrd_secure_key
diff --git a/package/olsrd/files/olsrd.conffiles b/package/olsrd/files/olsrd.conffiles
new file mode 100644
index 000000000..a0b5e8eaa
--- /dev/null
+++ b/package/olsrd/files/olsrd.conffiles
@@ -0,0 +1 @@
+/etc/olsrd.conf
diff --git a/package/olsrd/files/olsrd.init b/package/olsrd/files/olsrd.init
index 1e99a446b..4d348d88f 100644
--- a/package/olsrd/files/olsrd.init
+++ b/package/olsrd/files/olsrd.init
@@ -1,5 +1,7 @@
#!/bin/sh
-#FWINIT 60
+#PKG olsrd
+#INIT 60
+
. /etc/rc.conf
case $1 in
diff --git a/package/olsrd/files/olsrd.postinst b/package/olsrd/files/olsrd.postinst
new file mode 100644
index 000000000..fb6fa2bca
--- /dev/null
+++ b/package/olsrd/files/olsrd.postinst
@@ -0,0 +1,3 @@
+#!/bin/sh
+. $IPKG_INSTROOT/etc/functions.sh
+add_rcconf olsrd olsrd NO