#!/bin/sh /etc/rc.common

START=99
APP=wifiMgr.sh
ARGS=--daemon
PID_FILE=/var/run/$APP.pid

start() {
        start-stop-daemon -S -x $APP -- "$ARGS" -p $PID_FILE -m -b
}

stop() {
        start-stop-daemon -K -n $APP -p $PID_FILE -s TERM
        rm -rf $PID_FILE
}
