System Administration
Showing results for 
Search instead for 
Do you mean 

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

SOLVED
Go to Solution
Super Advisor

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

1 ACCEPTED SOLUTIONS
Highlighted
Honored Contributor Honored Contributor

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.
4 REPLIES
Honored Contributor Honored Contributor

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?
Highlighted
Honored Contributor Honored Contributor

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 Esteemed Contributor

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 Valued Contributor

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