mirror of
https://git.busybox.net/buildroot.git
synced 2024-11-28 07:53:32 +08:00
22 lines
250 B
Bash
Executable File
22 lines
250 B
Bash
Executable File
#!/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 $?
|
|
|