Cleaning up the boot process of a Debian squeeze installation running on kernel 3.2.0-0.bpo.3-amd64, I spotted several mountnfs scripts in /etc/init.d/:
# ls /etc/init.d/ | grep mountnfs mountnfs-bootclean.sh mountnfs.sh umountnfs.sh
Removing fails, with commands like:
# update-rc.d -f mountnfs remove update-rc.d: using dependency based boot sequencing
For "mountnfs", I have also tried: umountnfs, mountnfs-bootclean, nfs, nfs-common.
Update #1 Also tried without success: umountnfs.sh, mountnfs.sh.
The result is that the mountnfs-bootclean, mountnfs and unmountnfs.sh are still in /etc/init.d/ and their corresponding run level folders.
Just removing those files using
rm doesn't seem the right way. I though that these init.d files belong to installed packages. However I can't really find any installed NFS package:
# dpkg --get-selections | grep nfs libnfsidmap2 install
How do I correctly remove all mountNFS scripts from init.d?