startup script
Karl Klinger
karlok at fastmail.fm
Mon Jul 7 17:49:30 UTC 2008
Jim Douglas wrote:
> I installed a firewall and want to make sure it starts up in the right
> place on reboot.
>
> These are the instructions I am getting from the Firewall Builder site,
> they have nothing for Kubuntu...
>
> The universal method is to put generated script in /etc or /etc/firewall
> directory and add a line at the bottom of script */etc/rc.d/rc.local*
> (Mandrake and RedHat) or */etc/init.d/boot.local* (SuSE) like this:
>
> /etc/firewall/firewall.fw
>
> This way, firewall script runs when machine executes
> boot-time scripts. The name of the file is the same
> as the name of the firewall object in Firewall
> Builder GUI, with extension ".fw". So, if
> firewall object name is *guardian*, then
> fwbuilder puts generated policy in the file
> *guardian.fw*.
>
>
> What is the most secure process to start up at boot time?
>
>
> Thanks,
> Jim
>
You could put the line to run the script in /etc/rc.local. This is the
default rc.local:
#!/bin/sh -e
#
# rc.local
#
# This script is executed at the end of each multiuser runlevel.
# Make sure that the script will "exit 0" on success or any other
# value on error.
#
# In order to enable or disable this script just change the execution
# bits.
#
# By default this script does nothing.
exit 0
Karl
More information about the kubuntu-users
mailing list