[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [suse-security] startup and shutdown
> I made a small shell script(firewall) and i want to launch this
> script when suse linux boot and shut down this script when i close
> suse linux. how can i do that?
--> Have a look at /etc/init.d/REAME and /etc/init.d/skeleton. You
will have to create your own script in /etc/init.d and run "insserv"
to include it into the boot and shut-down process.
By tayloring the script you can determine at which time during
start-up and shut-down your script is called.
Have a look at /etc/init.d/SuSEfirewall_* to see how SuSE solves the
Am Hasenberg 26 office: Institut für Atmosphärenphysik
D-18209 Bad Doberan Schloss-Straße 6
Tel. ++49-(0)38203/42137 D-18225 Kühlungsborn / GERMANY
Email: schoech@xxxxxxxxxxxx Tel. +49-(0)38293-68-102
WWW: http://armins.cjb.net/ Fax. +49-(0)38293-68-50
Check the headers for your unsubscription address
For additional commands, e-mail: suse-security-help@xxxxxxxx
Security-related bug reports go to security@xxxxxxx, not here