diff options
author | Bernhard Reutner-Fischer <rep.dot.nop@gmail.com> | 2007-09-19 21:27:49 +0000 |
---|---|---|
committer | Bernhard Reutner-Fischer <rep.dot.nop@gmail.com> | 2007-09-19 21:27:49 +0000 |
commit | 4d5a30be34fc5f4dd24dd5584c068145ca99d69f (patch) | |
tree | 897581f815ed6f0342f0ed9dfeb49e8fc16ad25f /package/olsr/S50olsr | |
parent | 96144062db0180453c26006d2f7441e3ada55a9e (diff) |
- add olsr package (Sushi Sensei)
Diffstat (limited to 'package/olsr/S50olsr')
-rwxr-xr-x | package/olsr/S50olsr | 21 |
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 $? + |