What effect does the –f option to the update-rc.d command have on files in the /etc/rcX.d/ and /etc/init.d/ directories?

Last Updated on December 9, 2021 by Admin

What effect does the –f option to the update-rc.d command have on files in the /etc/rcX.d/ and /etc/init.d/ directories?

  • It will force the removal of the symlinks in /etc/rcX.d/ even when the links are read only
  • It will remove both the symlinks in /etc/rcX.d/ and the init script in /etc/init.d/
  • It will remove the init script in /etc/init.d/ and the symlinks in /etc/rcX.d/ and update the package information of installed files
  • It will force the removal of symlinks in /etc/rcX.d/ even if the corresponding init script still exists in /etc/init.d/
0 0 votes
Article Rating
Subscribe
Notify of
guest
0 Comments
Inline Feedbacks
View all comments