summaryrefslogtreecommitdiffstats
path: root/package/olsr/S50olsr
blob: 96b851b56efaabb43fda016800535af22276ba9f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
#!/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 $?