Network Manager Error Messages When Shutting Down
I'm not entirely sure that I am posting this in the right place, but I couldn't really make it fit anywhere else.
This is a brief how-to that will show you how to stop those annoying error messages that Network Manager can throw up when your PC shuts down.
This feels slightly hackish in the good way and has worked fine for me. So far I have experienced no ill effects from doing this but as with all advice found on the Internet you follow it at your own risk :)
Open a terminal
cd /etc/init.d
sudo gedit nwm (this should create a new file called nwm)
Add the following into the file
Code:
#! /bin/sh
# Kill all Network Managers.
# Should hopefully stop those annoying error messages
killall NetworkManager
exit 0
Save the file and exit gedit
cd ../rc6.d
sudo ln -s ../init.d/nwm K00nwn
When your computer enters runlevel 6 (shutting down or preparing to reboot) your new script should be the first thing that is run.