port lots of init scripts over to rc.common (more to come)
[feed/routing.git] / files / olsrd.init
1 #!/bin/sh /etc/rc.common
2 # Copyright (C) 2006 OpenWrt.org
3
4 DEFAULT=/etc/default/olsrd
5 [ -f $DEFAULT ] && . $DEFAULT
6
7 start() {
8 olsrd $OPTIONS
9 }
10
11 stop() {
12 killall olsrd
13 }