chkconfig (SUSE)
chkconfig is used to manipulate the runlevel links at boot time.It can be thought of as a frontend to insserv. chkconfig can run in six different modes: terse list mode, set mode, edit mode, list mode, add mode and delete mode. The last three modes were added for compatiblity reasons.[1]
Documentation
- man 8 'chkconfig'
Syntax
chkconfig -a|--add [NAME ...]
chkconfig -d|--del [NAME ...]
chkconfig -l|--list [--deps] [NAME ...]
Parameters
- -a [NAME ...], --add [NAME ...]
- Calls insserv to enable a service and uses list mode to display the new setting afterwards.
- -d [NAME ...], --del [NAME ...]
- Same as add mode, but disable the service.
- -l [--deps] [NAME ...], --list [--deps] [NAME ...]
- Prints for each specified service a line that consists of the service NAME and for runlevels zero to six on or off depending if the service will be started or not. on will be printed in bright green if the output is written to a terminal. If the --deps option is given, the names of the services that must be started before this service is appended to each line.
References
- ↑ man 8 'chkconfig'