Re: how to run some commands automatically before getting login prompt in suse linux (49 Views)
Reply
Super Advisor
senthil_kumar_1
Posts: 901
Registered: ‎03-02-2009
Message 1 of 5 (49 Views)
Accepted Solution

how to run some commands automatically before getting login prompt in suse linux

Honored Contributor
Ivan Ferreira
Posts: 6,957
Registered: ‎05-07-2004
Message 2 of 5 (49 Views)

Re: how to run some commands automatically before getting login prompt in suse linux

¿And why are you referring your own thread?
Por que hacerlo dificil si es posible hacerlo facil? - Why do it the hard way, when you can do it the easy way?
Honored Contributor
Marcin Golembski_1
Posts: 634
Registered: ‎11-06-2001
Message 3 of 5 (49 Views)

Re: how to run some commands automatically before getting login prompt in suse linux

The simplest way is to put your commands in:

/etc/init.d/boot.local

It does the same what /etc/rc.d/rc.local in RedHat does.
Esteemed Contributor
avizen9
Posts: 666
Registered: ‎06-01-2006
Message 4 of 5 (49 Views)

Re: how to run some commands automatically before getting login prompt in suse linux

Hello Senthil,

yes you should modify /etc/boot.local file,

please go through below url which having detail info regarding suse boot process,


http://www-uxsup.csx.cam.ac.uk/pub/doc/suse/suse9.0/adminguide-9.0/node17.html
Valued Contributor
Maaz
Posts: 1,229
Registered: ‎03-10-2004
Message 5 of 5 (49 Views)

Re: how to run some commands automatically before getting login prompt in suse linux

on SUSE, another simplest and 100% working solution is to create a file "after.local" under /etc/init.d/ .. then put your commands in /etc/init.d/after.local

Regards
The opinions expressed above are the personal opinions of the authors, not of HP. By using this site, you accept the Terms of Use and Rules of Participation.