I don't know anything about /etc/rc.x, but the "Debian way" is to put scripts is /etc/init.d from which links should be created with update-rc.d. This will put a symlink in /etc/rc2.d which will be executed when runlevel 2 is entered, which is after the boot process and probably a better place. Alternatively you can create your own symlink in /etc/rcS.d (which runs during boot before entering runlevel 2_ with a higher sequence code then the other links (i.e. place firewall.sh in /etc/init.d and execute:
ln -s /etc/init.d/firewall.sh /etc/rcS.d/S99firewall.sh Bob On Fri, Dec 22, 2000 at 07:34:39PM +0000, Phillip Deackes wrote: > I need to start a script containing ipchains settings derived freom > Firestarter. The docs suggest I start the script in /etc/rc.x. If I do > this, on boot up I get error messages which do not occur if I run the > script after the system has rebooted. This leads me to summise that the > script is starting too early. How can I make sure it is the last thing to > run on boot up? > > Anyone else using Firstarter? The script is firewall.sh and contains > ipchains references. > > I can try it again and copy over the error messages I receive on boot, but > I don't know how to get these messages again to copy - they appear during > boot up but they are not in /var/log/messages or /var/log/system. > > -- > Phillip Deackes > Using Storm Linux 2000 > > > -- > To UNSUBSCRIBE, email to [EMAIL PROTECTED] > with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED] -- Bob Nielsen, N7XY [EMAIL PROTECTED] Bainbridge Island, WA http://www.oz.net/~nielsen