diff --git a/openWRT/openwrt.init.script b/openWRT/openwrt.init.script index dc25ef7..63ace20 100644 --- a/openWRT/openwrt.init.script +++ b/openWRT/openwrt.init.script @@ -6,7 +6,8 @@ STOP=80 start() { echo "Stopping previous oor process ..." - killall oor &> /dev/null + killall /usr/sbin/oor &> /dev/null + rm /var/run/oor.pid echo "Starting Open Overlay Router ..." /usr/sbin/oor -D } @@ -14,4 +15,4 @@ start() { stop() { echo "Stopping Open Overlay Router ..." killall oor -} \ No newline at end of file +}