Spent hours in searching for such case workaround (or anything) and found nothing useful
some say of "change shutdown sequence" https://asyoulook.com/computers%20&%20i ... re/1299326
but no positive result.
So I ended up with adding disconnect command to function that stops wicd in /etc/init.d/wicd
I don't think it's good enough but better than nothing.
Code: Select all
# Function that stops the daemon/service
# 0 if daemon has been stopped
# 1 if daemon was already stopped
# 2 if daemon could not be stopped
# other if a failure occurred
wicd-cli -x --wireless
start-stop-daemon --stop --quiet --retry=TERM/30/KILL/5 --pidfile $PIDFILE --name $NAME
Anyone's help is still welcomed. Thank you...