From 462391357aa5e749dc9908c15f3baa0b4416f3d8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Nicol=C3=A1s=20Reynolds?= Date: Tue, 28 Jan 2014 03:27:16 +0000 Subject: Tue Jan 28 03:22:21 UTC 2014 --- pcr/olsrd/rc.d.olsrd | 36 ------------------------------------ 1 file changed, 36 deletions(-) delete mode 100755 pcr/olsrd/rc.d.olsrd (limited to 'pcr/olsrd/rc.d.olsrd') diff --git a/pcr/olsrd/rc.d.olsrd b/pcr/olsrd/rc.d.olsrd deleted file mode 100755 index d257e22ef..000000000 --- a/pcr/olsrd/rc.d.olsrd +++ /dev/null @@ -1,36 +0,0 @@ -#!/bin/bash - -. /etc/rc.conf -. /etc/rc.d/functions - -PID=`pidof -o %PPID /usr/sbin/olsrd` -case "$1" in - start) - stat_busy "Starting OLSR Daemon" - [ -z "$PID" ] && /usr/sbin/olsrd -d 0 &> /dev/null - if [ $? -gt 0 ]; then - stat_fail - else - add_daemon olsrd - stat_done - fi - ;; - stop) - stat_busy "Stopping OLSR Daemon" - [ ! -z "$PID" ] && kill $PID &> /dev/null - if [ $? -gt 0 ]; then - stat_fail - else - rm_daemon olsrd - stat_done - fi - ;; - restart) - $0 stop - $0 start - ;; - *) - echo "usage: $0 {start|stop|restart}" -esac -exit 0 - -- cgit v1.2.3