Search Members Help

» Welcome Guest
[ Log In :: Register ]

Mini-ITX Boards Sale, Fanless BareBones Mini-ITX, Bootable 1G DSL USBs, 533MHz Fanless PC <-- SALE $200 each!
Get The Official Damn Small Linux Book. DSL Market , Great VPS hosting provided by Tektonic
Pages: (3) </ 1 2 [3] >/

[ Track this topic :: Email this topic :: Print this topic ]

reply to topic new topic new poll
Topic: usb boot without ramdisk< Next Oldest | Next Newest >
wally Offline





Group: Members
Posts: 14
Joined: May 2006
Posted: May 16 2006,08:43 QUOTE

I've got another little question. I think it's to little to open a topic for it.

Is it possible to make a script run when you boot? I tried serveral things, but I didn't got it working.. Is there a place you can put your scripts or link to your script that it works?

I know it is a really noobie question  :( But when I put the script in the init.d directory it is gone when I reboot...
Back to top
Profile PM 
hs7sv Offline





Group: Members
Posts: 247
Joined: June 2005
Posted: May 16 2006,09:00 QUOTE

On booting, you can add a command in /opt/bootlocal.sh, and put the script file in /home/dsl or /opt.
In Fluxbox, you can add a command in /home/dsl/.xinitrc


--------------
"My advice is to just  return hardware that does not work with a plain Linux kernel, right to the place where you bought it, and ask for your money back..."

Klaus Knopper
Back to top
Profile PM ICQ AOL MSN YIM 
wally Offline





Group: Members
Posts: 14
Joined: May 2006
Posted: May 16 2006,09:26 QUOTE

Thanx, that is just what I needed to know :)
Back to top
Profile PM 
wally Offline





Group: Members
Posts: 14
Joined: May 2006
Posted: May 17 2006,07:29 QUOTE

For the people who want to know. I eventually put the script I wanted to start in the file .bash_profile in the home directory. This because I wanted to use a command that only is supported on the moment you are singed in as an user and your tty is /dev/tty1 (when I put the script in bootlocal.sh the tty was /dev/console).

The .bash_profile file is normally used to start x. I replaced the commando 'startx' in the file with my script path and name.

I hope there is someone out there who finds this information usefull...
Back to top
Profile PM 
13 replies since May 15 2006,08:34 < Next Oldest | Next Newest >

[ Track this topic :: Email this topic :: Print this topic ]

Pages: (3) </ 1 2 [3] >/
reply to topic new topic new poll
Quick Reply: usb boot without ramdisk

Do you wish to enable your signature for this post?
Do you wish to enable emoticons for this post?
Track this topic
View All Emoticons
View iB Code