You are not logged in.

#1 2009-04-09 18:32:18

jernej
Member
Registered: 2008-10-22
Posts: 11

how to execute shell script at boot

I wrote a script that I would like to run at startup. Basically it changes the mac address of the network card. I tried to run it from rc.conf, but I ended reinstalling the whole system.... Could someone explain me how and where to put the myscript.sh.
Thank you!

Jernej

Offline

#2 2009-04-09 18:34:03

rson451
Member
From: Annapolis, MD USA
Registered: 2007-04-15
Posts: 1,233
Website

Re: how to execute shell script at boot

/etc/rc.local


archlinux - please read this and this — twice — then ask questions.
--
http://rsontech.net | http://github.com/rson

Offline

#3 2009-04-09 18:48:46

jernej
Member
Registered: 2008-10-22
Posts: 11

Re: how to execute shell script at boot

That was superfast smile And it works! Thank you Rson!

Jernej

Offline

Board footer

Powered by FluxBB