Auto start script


Forum: DSL Tips and Tricks
Topic: Auto start script
started by: Divago

Posted by Divago on Oct. 02 2007,11:08
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 :)

Posted by Divago on Oct. 02 2007,11:12
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 :)

Powered by Ikonboard 3.1.2a
Ikonboard © 2001 Jarvis Entertainment Group, Inc.