Use a single script and have it check /proc/cmdline to see which runlevel
has been called.


/etc/init.d/functions.sh do this for u with the function get_bootconfig()
this function set both BOOTLEVEL and DEFAULTLEVEL,
the variables to pass at startup are "bootlevel" and "softlevel" respectively


francesco riosa


-- [email protected] mailing list



Reply via email to