Easy way to shutdown Ubuntu System while hang up for a while, in background it produce an error- mount error 101 network is unreachable. Refer to the mount.cifs(8) manual page. System take long time to shutdown. The hang up only came after when we map a network drive in cifs. My solution is create script file for shutdown that disconnect all the mounted drive prior to shutdown.
To create a script file, open a file type the following command in it.
sudo umount -a
sudo halt
save it as Shutdown.sh in your home folder. Create a Launcher type this in command session
sh /home//Shutdown.sh
Now its ready. Double click on the launcher and give the password.
To create a script file, open a file type the following command in it.
sudo umount -a
sudo halt
save it as Shutdown.sh in your home folder. Create a Launcher type this in command session
sh /home/
Now its ready. Double click on the launcher and give the password.
No comments:
Post a Comment