diff options
Diffstat (limited to 'openwrt/package/olsrd/files/olsrd.init')
-rw-r--r-- | openwrt/package/olsrd/files/olsrd.init | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/openwrt/package/olsrd/files/olsrd.init b/openwrt/package/olsrd/files/olsrd.init new file mode 100644 index 000000000..1f1fdb951 --- /dev/null +++ b/openwrt/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 $? |