blob: a8aefd37450142bf6ad7fc3490eb3386949f491c [file] [log] [blame]
#!/bin/sh
#
# Starts OLSRD daemon
#
case "$1" in
start)
echo "Starting OLSRd daemon: "
/usr/sbin/olsrd -d 0 -nofork &
;;
stop)
echo "Stopping OLSRd daemon: "
killall olsrd
;;
*)
echo "Usage: $0 {start|stop}"
exit 1
esac
exit $?