4 briefly explain your changes (corrected spelling, fixed grammar, improved formatting)
source | link

Unless you wrote them, you should never remove scripts from /etc/init.d/. That is why the utility update-rc.d exists: to remove their symlinks from the /etc/rc*.d/ directories in an easier way.

To check to which package a file belongs to, use dpkg -S:

$ dpkg -S /etc/init.d/mountnfs.sh
initscripts: /etc/init.d/mountnfs.sh

mountnfs.sh belongs to an essential package called initscripts.

Unless you wrote them, you should never remove scripts from /etc/init.d/. That is why the utility update-rc.d exists: to remove their symlinks from the /etc/rc*.d/ directories in an easier way.

update-rc.d requires you to call scripts by their names, and disabling them in this order, because of their dependencies, disabling them in this order should work:

update-rc.d mountnfs-bootclean.sh remove ### mountnfs-bootclean.sh first
update-rc.d mountnfs.sh remove
update-rc.d umountnfs.sh remove

However, I tried that last month, and it will leave you with a broken system (unable to start X, if I can remember well). The thing is that mountnfs-bootclean.sh does some needed system cleanup, although its name doesn't imply, and it depends on mountnfs.sh. So you can't disable either.

You may consider that as a bug in Debian init scripts: you are forced to have the init script without having any network filesystems. It's annoying, I know.

If you insist in removing them, and need to revert the changes, you'll have to re-enable them in reverse order, because mountnfs-bootclean.sh needs mountnfs.sh to be enabled first:

update-rc.d umountnfs.sh defaults
update-rc.d mountnfs.sh defaults
update-rc.d mountnfs-bootclean.sh defaults ### mountnfs-bootclean.sh last

Unless you wrote them, you should never remove scripts from /etc/init.d/. That is why the utility update-rc.d exists: to remove their symlinks from the /etc/rc*.d/ directories in an easier way.

To check to which package a file belongs to, use dpkg -S:

$ dpkg -S /etc/init.d/mountnfs.sh
initscripts: /etc/init.d/mountnfs.sh

mountnfs.sh belongs to an essential package called initscripts.

update-rc.d requires you to call scripts by their names, and disabling them in this order, because of their dependencies, should work:

update-rc.d mountnfs-bootclean.sh remove ### mountnfs-bootclean.sh first
update-rc.d mountnfs.sh remove
update-rc.d umountnfs.sh remove

However, I tried that last month, and it will leave you with a broken system (unable to start X, if I can remember well). The thing is that mountnfs-bootclean.sh does some needed system cleanup, although its name doesn't imply, and it depends on mountnfs.sh. So you can't disable either.

You may consider that as a bug in Debian init scripts: you are forced to have the init script without having any network filesystems. It's annoying, I know.

If you insist in removing them, and need to revert the changes, you'll have to re-enable them in reverse order, because mountnfs-bootclean.sh needs mountnfs.sh to be enabled first:

update-rc.d umountnfs.sh defaults
update-rc.d mountnfs.sh defaults
update-rc.d mountnfs-bootclean.sh defaults ### mountnfs-bootclean.sh last

To check which package a file belongs to, use dpkg -S:

$ dpkg -S /etc/init.d/mountnfs.sh
initscripts: /etc/init.d/mountnfs.sh

mountnfs.sh belongs to an essential package called initscripts.

Unless you wrote them, you should never remove scripts from /etc/init.d/. That is why the utility update-rc.d exists: to remove their symlinks from the /etc/rc*.d/ directories in an easier way.

update-rc.d requires you to call scripts by their names and, because of their dependencies, disabling them in this order should work:

update-rc.d mountnfs-bootclean.sh remove ### mountnfs-bootclean.sh first
update-rc.d mountnfs.sh remove
update-rc.d umountnfs.sh remove

However, I tried that last month, and it will leave you with a broken system (unable to start X, if I can remember well). The thing is that mountnfs-bootclean.sh does some needed system cleanup, although its name doesn't imply, and it depends on mountnfs.sh. So you can't disable either.

You may consider that as a bug in Debian init scripts: you are forced to have the init script without having any network filesystems. It's annoying, I know.

If you insist in removing them, and need to revert the changes, you'll have to re-enable them in reverse order, because mountnfs-bootclean.sh needs mountnfs.sh to be enabled first:

update-rc.d umountnfs.sh defaults
update-rc.d mountnfs.sh defaults
update-rc.d mountnfs-bootclean.sh defaults ### mountnfs-bootclean.sh last
3 briefly explain your changes (corrected spelling, fixed grammar, improved formatting)
source | link

RemovingUnless you wrote them, you should never remove scripts from /etc/init.d/. That is why the utility update-rc.d exists: to remove their symlinks from the /etc/rc*.d/ directories in an easier way.

To check to which package a file belongs to, use dpkg -S:

$ dpkg -S /etc/init.d/mountnfs.sh
initscripts: /etc/init.d/mountnfs.sh

mountnfs.sh belongs to an essential package called initscripts.

update-rc.d requires you to call scripts by their script namenames, and disabling them in this order, because of their dependencies, should work:

update-rc.d mountnfs-bootclean.sh remove ### mountnfs-bootclean.sh first
update-rc.d mountnfs.sh remove
update-rc.d umountnfs.sh remove

However, I tried that last month, and it will leave you with a broken system (unable to start X, if I can remember well). The thing is that mountnfs-bootclean.sh does some needed system cleanup, although its name doesn't imply, and it depends on mountnfs.sh. So you can't disable either.

You may consider that as a bug in Debian init scripts: you are forced to have the init script without having any network filesystems. It's annoying, I know.

If you insist in removing them, and need to revert the changes, you'll have to re-enable them in reverse order, because mountnfs-bootclean.sh needs mountnfs.sh to be enabled first:

update-rc.d umountnfs.sh defaults
update-rc.d mountnfs.sh defaults
update-rc.d mountnfs-bootclean.sh defaults ### mountnfs-bootclean.sh last

Removing them by their script name should work:

update-rc.d mountnfs-bootclean.sh remove
update-rc.d mountnfs.sh remove
update-rc.d umountnfs.sh remove

However, I tried that last month, and it will leave you with a broken system (unable to start X, if I can remember well). The thing is that mountnfs-bootclean.sh does some needed system cleanup, although its name doesn't imply, and it depends on mountnfs.sh. So you can't disable either.

You may consider that as a bug in Debian init scripts: you are forced to have the init script without having any network filesystems. It's annoying, I know.

Unless you wrote them, you should never remove scripts from /etc/init.d/. That is why the utility update-rc.d exists: to remove their symlinks from the /etc/rc*.d/ directories in an easier way.

To check to which package a file belongs to, use dpkg -S:

$ dpkg -S /etc/init.d/mountnfs.sh
initscripts: /etc/init.d/mountnfs.sh

mountnfs.sh belongs to an essential package called initscripts.

update-rc.d requires you to call scripts by their names, and disabling them in this order, because of their dependencies, should work:

update-rc.d mountnfs-bootclean.sh remove ### mountnfs-bootclean.sh first
update-rc.d mountnfs.sh remove
update-rc.d umountnfs.sh remove

However, I tried that last month, and it will leave you with a broken system (unable to start X, if I can remember well). The thing is that mountnfs-bootclean.sh does some needed system cleanup, although its name doesn't imply, and it depends on mountnfs.sh. So you can't disable either.

You may consider that as a bug in Debian init scripts: you are forced to have the init script without having any network filesystems. It's annoying, I know.

If you insist in removing them, and need to revert the changes, you'll have to re-enable them in reverse order, because mountnfs-bootclean.sh needs mountnfs.sh to be enabled first:

update-rc.d umountnfs.sh defaults
update-rc.d mountnfs.sh defaults
update-rc.d mountnfs-bootclean.sh defaults ### mountnfs-bootclean.sh last
2 added 50 characters in body
source | link

Removing them by their script name should work:

update-rc.d mountnfs-bootclean.sh remove
update-rc.d mountnfs.sh remove
update-rc.d umountnfs.sh remove

However, I tried that last month, and it will leave you with a broken system (unable to start X, if I can remember well). The thing is that mountnfs-bootclean.sh does some needed system cleanup, although its name doesn't imply, and it depends on mountnfs.sh. So you can't disable either.

You may consider that as a bug in Debian init scripts (forced: you are forced to have the init script without having any network filesystems). It's annoying, I know!.

Removing them by their script name should work:

update-rc.d mountnfs-bootclean.sh remove
update-rc.d mountnfs.sh remove
update-rc.d umountnfs.sh remove

However, I tried that last month, and it will leave you with a broken system (unable to start X, if I can remember well). The thing is that mountnfs-bootclean.sh does some needed cleanup, and depends on mountnfs.sh. So you can't disable either.

You may consider that as a bug in Debian init scripts (forced to have the init script without having any network filesystems). It's annoying, I know!

Removing them by their script name should work:

update-rc.d mountnfs-bootclean.sh remove
update-rc.d mountnfs.sh remove
update-rc.d umountnfs.sh remove

However, I tried that last month, and it will leave you with a broken system (unable to start X, if I can remember well). The thing is that mountnfs-bootclean.sh does some needed system cleanup, although its name doesn't imply, and it depends on mountnfs.sh. So you can't disable either.

You may consider that as a bug in Debian init scripts: you are forced to have the init script without having any network filesystems. It's annoying, I know.

1
source | link