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
 

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

reply to topic new topic new poll
Topic: Auto start script< Next Oldest | Next Newest >
Divago Offline





Group: Members
Posts: 83
Joined: April 2007
Posted: Oct. 02 2007,11:08 QUOTE

some time ago
(long time ago)

i found in this forum a sample script to auto-start Firefox every 2 seconds if killed or crashed

this was something like
Code Sample
while true
do
   pidof firefox-bin || /opt/firefox-1.5.0.5/firefox
   sleep 2
done
and this script, named "rebootFF.sh", executed from ".xinitrc", was enough to ensure FF to reboot evrytime i started dsl AND everytime it was close

now i cannot make it start O.o

note that
Code Sample
/home/dsl/rebootFF.sh &>/dev/null &
aterm +tr -bg white -fg black -cr blue -T "Bash" -e /bin/bash &>/dev/null &
#dillo /usr/share/doc/dsl/getting_started.html &>/dev/null &
this is how i make script start (cut and pasted from /home/dsl/.xinitrc )
and, ofc, typing /opt/firefox-1.5.0.5/firefox into aterm window make firefox start

there is anyone here (like the original poster :D ) who can tell me where am i wrong?
tyvm :)
Back to top
Profile PM 
Divago Offline





Group: Members
Posts: 83
Joined: April 2007
Posted: Oct. 02 2007,11:12 QUOTE

i solved this problem
was a really really really easy thing

how can i delete my post from forum?

please someone delete this post from forum :)
Back to top
Profile PM 
1 replies since Oct. 02 2007,11:08 < Next Oldest | Next Newest >

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

 
reply to topic new topic new poll
Quick Reply: Auto start script

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