summaryrefslogtreecommitdiffstats
path: root/package/olsrd/files
diff options
context:
space:
mode:
Diffstat (limited to 'package/olsrd/files')
-rw-r--r--package/olsrd/files/olsrd.init15
-rw-r--r--package/olsrd/files/olsrd_secure_key1
2 files changed, 16 insertions, 0 deletions
diff --git a/package/olsrd/files/olsrd.init b/package/olsrd/files/olsrd.init
new file mode 100644
index 000000000..1f1fdb951
--- /dev/null
+++ b/package/olsrd/files/olsrd.init
@@ -0,0 +1,15 @@
+#!/bin/sh
+
+DEFAULT=/etc/default/olsrd
+[ -f $DEFAULT ] && . $DEFAULT
+
+case $1 in
+ start)
+ olsrd $OPTIONS
+ ;;
+ *)
+ echo "usage: $0 (start)"
+ exit 1
+esac
+
+exit $?
diff --git a/package/olsrd/files/olsrd_secure_key b/package/olsrd/files/olsrd_secure_key
new file mode 100644
index 000000000..4a7d7258f
--- /dev/null
+++ b/package/olsrd/files/olsrd_secure_key
@@ -0,0 +1 @@
+1234567890123456 \ No newline at end of file