System Administration Guide: Basic Administration

How to Disable a Run Control Script

  1. Become superuser.

  2. Rename the script by adding an underscore (_) to the beginning of the new file.


    # cd /etc/rcn.d
    # mv filename _filename
    
  3. Verify that the script has been renamed.


    # ls _*
    # _filename
    

Example—Disabling a Run Control Script

The following example shows how to rename the S100datainit script.


# cd /etc/rc2.d
# mv S100datainit _S100datainit
# ls _*
# _S100datainit