aboutsummaryrefslogtreecommitdiffstats
path: root/package/olsr/S50olsr
diff options
context:
space:
mode:
authorBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2007-09-19 21:27:49 +0000
committerBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2007-09-19 21:27:49 +0000
commit4d5a30be34fc5f4dd24dd5584c068145ca99d69f (patch)
tree897581f815ed6f0342f0ed9dfeb49e8fc16ad25f /package/olsr/S50olsr
parent96144062db0180453c26006d2f7441e3ada55a9e (diff)
downloadbuildroot-novena-4d5a30be34fc5f4dd24dd5584c068145ca99d69f.tar.gz
buildroot-novena-4d5a30be34fc5f4dd24dd5584c068145ca99d69f.zip
- add olsr package (Sushi Sensei)
Diffstat (limited to 'package/olsr/S50olsr')
-rwxr-xr-xpackage/olsr/S50olsr21
1 files changed, 21 insertions, 0 deletions
diff --git a/package/olsr/S50olsr b/package/olsr/S50olsr
new file mode 100755
index 000000000..96b851b56
--- /dev/null
+++ b/package/olsr/S50olsr
@@ -0,0 +1,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 $?
+