Table of Contents
Use
chkconfig --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 appropriate entry as specified by the default values in the init script. Note that default entries in LSB-delimited 'INIT INFO' sections take precedence over the default runlevels in the initscript.
cp redhat.noip.sh /etc/rc.d/init.d/noip
chkconfig --add noip
% chkconfig --list noip noip 0:off 1:off 2:off 3:off 4:off 5:off 6:off
chkconfig noip on
% chkconfig --list noip noip 0:off 1:off 2:on 3:on 4:on 5:on 6:off
# service noip start Starting no-ip client daemon: [ OK ]
documented on: 2004.06.24