summaryrefslogtreecommitdiffstats
path: root/package/olsrd/files
diff options
context:
space:
mode:
authornico <nico@3c298f89-4303-0410-b956-a3cf2f4a3e73>2005-05-18 14:53:00 +0000
committernico <nico@3c298f89-4303-0410-b956-a3cf2f4a3e73>2005-05-18 14:53:00 +0000
commit8f4b79da58ea9faa336db9111a50ca484f1ed76f (patch)
tree50edbd59bdc994807e7ba64ca4a00c270a236f7b /package/olsrd/files
parentf30ab83a1d7a98a750d5af50d3205fac08875948 (diff)
Convert olsrd to new packaging style, put plugins into sub-packages
git-svn-id: svn://svn.openwrt.org/openwrt/trunk/openwrt@936 3c298f89-4303-0410-b956-a3cf2f4a3e73
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