You are not logged in.

#1 2007-09-23 22:44:36

jefones
Member
Registered: 2007-09-19
Posts: 17

wifi-radar problem

I have a problem. The wifi-radar daemon fail in reboot or turn off the system. What it can be?

Offline

#2 2007-09-24 05:13:38

webbrewer
Member
From: Eugene, OR USA
Registered: 2007-07-10
Posts: 25

Re: wifi-radar problem

The wifi-radar daemon merely starts the wireless network connection.  It doesn't stay running as a process.  Therefore, when init tries to kill it at reboot or shutdown, and there is no process to kill, it says it fails.  Nothing to worry about.

Offline

#3 2007-09-24 14:28:27

jefones
Member
Registered: 2007-09-19
Posts: 17

Re: wifi-radar problem

Ok... the daemon script is:

 
...

stop)
    stat_busy "Stopping WiFi Radar Daemon"
    [ ! -z "$PID" ]  && kill $PID &> /dev/null
    if [ $? -gt 0 ]; then
      stat_fail
    else
      rm_daemon wifi-radar
      stat_done
    fi
    ;;

...

the CORRECT code is:

...

 stop)
    stat_busy "Stopping WiFi Radar Daemon"
    rm_daemon wifi-radar
    stat_done
     ;;

...

Is this?

Offline

Board footer

Powered by FluxBB