diff options
author | nico <nico@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2005-05-18 14:53:00 +0000 |
---|---|---|
committer | nico <nico@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2005-05-18 14:53:00 +0000 |
commit | 8f4b79da58ea9faa336db9111a50ca484f1ed76f (patch) | |
tree | 50edbd59bdc994807e7ba64ca4a00c270a236f7b /package/olsrd/files/olsrd.init | |
parent | f30ab83a1d7a98a750d5af50d3205fac08875948 (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/olsrd.init')
-rw-r--r-- | package/olsrd/files/olsrd.init | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/package/olsrd/files/olsrd.init b/package/olsrd/files/olsrd.init new file mode 100644 index 0000000000..1f1fdb9519 --- /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 $? |