Operating System - Linux
1751975 Members
4575 Online
108784 Solutions
New Discussion юеВ

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

 
SOLVED
Go to solution
senthil_kumar_1
Super Advisor

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

4 REPLIES 4
Ivan Ferreira
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?
Marcin Golembski_1
Honored Contributor
Solution

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.
avizen9
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
Maaz
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