mirror of https://github.com/aredn/aredn.git
Removed olsrd related binaries and init.d file -- Contained in custom olsrd package file instead
This commit is contained in:
parent
ae2674e764
commit
ebd2996564
|
@ -1,27 +0,0 @@
|
|||
#!/bin/sh /etc/rc.common
|
||||
# Copyright (C) 2006 OpenWrt.org
|
||||
START=50
|
||||
|
||||
BIN=olsrd
|
||||
DEFAULT=/etc/default/olsrd
|
||||
RUN_D=/var/run
|
||||
PID_F=$RUN_D/$BIN.pid
|
||||
|
||||
start() {
|
||||
# generate the config file
|
||||
/usr/local/bin/olsrd-config || exit 1
|
||||
|
||||
# start the daemon
|
||||
[ -f $DEFAULT ] && . $DEFAULT
|
||||
$BIN -f /tmp/olsrd.conf -nofork $OPTIONS &
|
||||
|
||||
# write pid file (but strip out own pid ($$))
|
||||
mkdir -p $RUN_D
|
||||
PID=`pidof $BIN`
|
||||
echo ${PID%$$} > $PID_F
|
||||
}
|
||||
|
||||
stop() {
|
||||
killall olsrd
|
||||
}
|
||||
|
|
@ -1 +0,0 @@
|
|||
64509bfa335a2864a34a0e7e296593c9
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Loading…
Reference in New Issue