Automatically unmount cifs (Common Internet File System) partitions

Sponsored Link
CIFS, which stands for Common Internet File System, is a network protocol for sharing files, printers, serial ports, and other communications between computers. CIFS is based on the widely-used SMB, Server Message Block, protocol.

(Actually, CIFS is SMB, but this gets tricky to explain, and unless you wandered here by accident, you probably know all this anyway.)

Automatically unmount cifs partitions in the shutdown and reboot sequence of Ubuntu.first you need to download the script located here

uncompress archive and set ‘chmod +x' on the mountcifs file

sudo cp mountcifs /etc/init.d/

cd /etc/rc0.d

sudo ln -s /etc/init.d/mountcifs K02mountcifs

cd /etc/rc6.d

sudo ln -s /etc/init.d/mountcifs K02mountcifs

Sponsored Link

You may also like...

Leave a Reply

Your email address will not be published. Required fields are marked *