Re: How to install init scripts manually?

2015-11-03 Thread Martin T
In addition to symlinks to /etc/rc.d/ directories, insserv adds a ":" line to /etc/init.d/.depend.start file. My mistake was that I added ":" line to /etc/init.d/.depend.start file. regards, Martin On 8/9/14, Andrei POPESCU wrote: > On Lu, 04 aug 14, 13:30:54, Martin

Re: How to install init scripts manually?

2014-08-09 Thread Andrei POPESCU
On Lu, 04 aug 14, 11:37:08, Gary Dale wrote: OK. On Jessie it is a symbolic link to /bin/systemctl. The difference is likely important to provide a standard way to change run levels despite not everyone using init. Ditto for insserv which seems to have been created to allow upstart and init

Re: How to install init scripts manually?

2014-08-09 Thread Andrei POPESCU
On Lu, 04 aug 14, 13:30:54, Martin T wrote: As a next step, I made the /etc/init.d/test-script file executable and added a symlink to /etc/rc3.d/(ln -s ../init.d/test-script /etc/rc3.d/S23test-script) directory and changed my runlevel from 2(default) to 3 with init 3. However, the

Re: How to install init scripts manually?

2014-08-08 Thread Martin T
On 8/4/14, Gary Dale garyd...@torfree.net wrote: On 04/08/14 11:04 AM, Martin T wrote: On 8/4/14, Gary Dalegaryd...@torfree.net wrote: On 04/08/14 06:30 AM, Martin T wrote: Hi, I played around with a LSB init script under Squeeze(init is from sysvinit package version

How to install init scripts manually?

2014-08-04 Thread Martin T
Hi, I played around with a LSB init script under Squeeze(init is from sysvinit package version 2.88dsf-13.1+squeeze1) for learning purposes. My script is following: # cat /etc/init.d/test-script #! /bin/sh ### BEGIN INIT INFO # Provides: test # Required-Start:$all # Required-Stop:

Re: How to install init scripts manually?

2014-08-04 Thread Martin T
Hi, by reloaded the machine I meant that I executed the reboot command. I did try with telinit, but at least on Squeeze this is just a symlink to init: # file /sbin/telinit /sbin/telinit: symbolic link to `init' # regards, Martin On 8/4/14, Gary Dale garyd...@torfree.net wrote: On 04/08/14

Re: How to install init scripts manually?

2014-08-04 Thread Gary Dale
On 04/08/14 11:04 AM, Martin T wrote: On 8/4/14, Gary Dalegaryd...@torfree.net wrote: On 04/08/14 06:30 AM, Martin T wrote: Hi, I played around with a LSB init script under Squeeze(init is from sysvinit package version 2.88dsf-13.1+squeeze1) for learning purposes. My script is following: #