linux下man chkconfig帮助,得到如下文档:
NAME
chkconfig - updates and queries runlevel information for system services
OPTIONS
--level levels
Specifies the run levels an operation should pertain to. It is
given as a string of numbers from 0 to 6. For example, --level
35 specifies runlevels 3 and 5.
--add name
This option adds a new service for management by chkconfig.
When a new service is added, chkconfig ensures that the service
has either a start or a kill entry in every runlevel. If any
runlevel is missing such an entry, chkconfig creates the appro-
priate entry as specified by Stop entries are
present, the start and stop priorities of the script will be
adjusted to