Help Verify Runlevel 1 Multi-Process Capability



I am using Mandrake 9.2 and am having a problem getting an additional
process started in runlevel 1.

Apparently, when Mandrake goes to runlevel 1 it kills most of the
currently running processes and then executes (starts) an init script
called "/etc/init.d/single". This script checks for any other runlevel
1 start scripts and runs them and then preforms an init -t1 S.

In actuallity, what happens is it executes the "single" script, then
executes my additional script, and then init's to single user mode,
which sends the SIGHUP and SIGKILL signals, killing my additional
script momentarily started before the call to init Single User mode.

Does anyone know if this is a bug and/or if there is a work around for
starting additional scripts in runlevel 1 with a Mandrake type
distribution? I've tried rc.local and did not find any success with
it.

I would greatly appreciate it if someone would help veryify this is an
issue.

Thank you for your assitance.

Rspectfully,


Gary

.



Relevant Pages

  • Re: shutdown via /etc/rc.d/rcN.d/KNN* files
    ... execution during shutdown? ... executed first. ... Based on a comment line in the script itself, ... Now when you "change" runlevel, we do not care about what runlevel you ...
    (Fedora)
  • Re: seti service script - proper run level (still problems)
    ... den 21.04.2004 schrieb Kevin F. Berrien um 23:11: ... > Here is the script, ... How does your manually created runlevel link look? ... Fedora GNU/Linux Core 1 on Athlon CPU kernel 2.4.22-1.2179.nptl ...
    (Fedora)
  • Re: What file to add command to start at bootime
    ... > I have some script and would like to run it at boot ... Under debian the rc?.d directories are split out by ... Runlevel 0 is shut-down, runlevel 1 is single ... script in rc2.d and name it S. ...
    (Debian-User)
  • Re: Automatically starting a service
    ... the startup-scripts for services ... first started using Linux - but it's really pretty simple. ... runlevel directories /etc/rc.d/rcX.d) ... have a script /etc/rc.d/rc.firewall which is executed from rc.local. ...
    (linux.redhat.install)
  • Re: Script check
    ... >> I have an script to check daily events in a host but it's working on ... works fine here (Mandrake) ...
    (alt.os.linux)