Commands to execute while booting


I want to execute some commands everytime OpenSuse boots. How can I do the same?

Thanks in advance.


Are you wanting them to execute before or after X is loaded?

after x is loaded.


Is /etc/init.d/boot.local to early?

Else make a script (using /etc/init.d/skeleton as an example) doing things at reaching/leaving runlevel 5.

Are these system things or just something you want to run when you login?

> after x is loaded.

Okay. Can you give us one more hint about what you are trying to do.

For example, if all you want to do is launch something in KDE, just make a
little script and drop it into /home/[yours]/.kde/Autostart and you are done!

But, if you want it started after X and before KDE, or you don’t use KDE then
that obviously will not work.

Unfortunately, no matter how smart we might be we can not guess exactly what you
need to do.