Mailinglist Archive: opensuse-security (88 mails)

< Previous Next >
RE: [suse-security] load script at boot
  • From: <b@xxxxxxxxx>
  • Date: Thu, 20 Apr 2006 01:28:31 +0200
  • Message-id: <webuser-37.106042001283100101@xxxxxxxxxxxxxxxxx>
create a file in /etc/init.d called startscript
make sure it is executable (chmod 755 startscript)

Then depending on what runlevel you want to load the script in (in suse usually 3 and 5) cd to /etc/init.d/rc3.d and link to the startscript file.
ln -s S99startscript ../startscript
cd ../rc5.d
ln -s S99startscript ../startscript

Or, once you have added the script to /etc/init.d, just use yast to edit runlevels and select your script to start in appropriate levels...

----- Original Message ------
From: "Walter Pabon Guerra" <walterpg@xxxxxxxxx>
Sent: Wed, 19 Apr 2006 11:19:25 -0500
To: b@xxxxxxxxx
Subject: [suse-security] load script at boot

hi, i need load a script to start suse, how i do ?....



Walter Pabon Guerra

"Don't worry, Be Linux..."

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
< Previous Next >
Follow Ups