Mailinglist Archive: opensuse (1945 mails)

< Previous Next >
Re: [opensuse] Need to add an init script
  • From: Per Jessen <per@xxxxxxxxxxxx>
  • Date: Tue, 15 Dec 2009 10:04:02 +0100
  • Message-id: <hg7je3$dig$2@xxxxxxxxxxxxxxxx>
Ruben Safir wrote:

Hello

I need to add an init script to the /etc/rc.d directory to run on init
3
and init 5 for my DHCPD server. I try to add it /etc/rc.d/ and
replaced the dhcpd script there and then created a line to
/etc/init/rc3.d/S03dhcpd and /etc/init/rc3.d/K03dhcpd, but it doesn't
seem to be seen on reboot or when I drop it down to init 1 and then
back up to init 3

Use e.g. 'insserv' or 'chkconfig' to automagically insert your script
correctly.


/Per

--
Per Jessen, Zürich (0.0°C)

--
To unsubscribe, e-mail: opensuse+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse+help@xxxxxxxxxxxx

< Previous Next >
References