hi, i need load a script to start suse, how i do ?.... -- Atte. <<_waltico_>> Walter Pabon Guerra "Don't worry, Be Linux..." http://www.utpinux.org http://waltico.utpinux.org http://www.jawservices.net
You want SuSE to load a script to start itself? O.o "Walter Pabon Guerra" <walterpg@gmail.com> wrote on 04/19/2006 12:19:25 PM:
hi, i need load a script to start suse, how i do ?....
-- Atte.
<<_waltico_>>
Walter Pabon Guerra
"Don't worry, Be Linux..."
http://www.utpinux.org http://waltico.utpinux.org http://www.jawservices.net
-- Check the headers for your unsubscription address For additional commands, e-mail: suse-security-help@suse.com Security-related bug reports go to security@suse.de, not here
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@gmail.com> Sent: Wed, 19 Apr 2006 11:19:25 -0500 To: b@rry.co.za Subject: [suse-security] load script at boot
hi, i need load a script to start suse, how i do ?....
-- Atte.
<<_waltico_>>
Walter Pabon Guerra
"Don't worry, Be Linux..."
http://www.utpinux.org http://waltico.utpinux.org http://www.jawservices.net
-- Check the headers for your unsubscription address For additional commands, e-mail: suse-security-help@suse.com Security-related bug reports go to security@suse.de, not here
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 The Thursday 2006-04-20 at 01:28 +0200, b@rry. wrote:
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
That is a no-no in a SuSE system. See "man init.d" and the equivalent chapter in the admin book for the "whys". - -- Cheers, Carlos Robinson -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.0 (GNU/Linux) Comment: Made with pgp4pine 1.76 iD8DBQFERsrMtTMYHG2NR9URAsbAAJ0cac/kmo96D+oaH88fnxJYtlA6aQCbB29l Ge/1BZua4wr2cNdUcvBuIRo= =u/VM -----END PGP SIGNATURE-----
Walter Pabon Guerra escribió:
hi, i need load a script to start suse, how i do ?....
See /etc/init.d/boot.local or if "you're feeling lucky" go to http://www.google.com.uy/search?q=suse+boot+script&btnI Regards, Muralito.
participants (5)
-
b@rry.co.za
-
Carlos E. R.
-
Muralito
-
trainier@kalsec.com
-
Walter Pabon Guerra