openwrt-owl/openwrt/package/olsrd/files/olsrd.init

16 lines
164 B
Bash

#!/bin/sh
DEFAULT=/etc/default/olsrd
[ -f $DEFAULT ] && . $DEFAULT
case $1 in
start)
olsrd $OPTIONS
;;
*)
echo "usage: $0 (start)"
exit 1
esac
exit $?