you should put yourscript in /etc/rc.d/rc2.d phone normally run in runlevel 2. or put my startup script instead. it execute all *.lin in /ezxlocal/download/mystuff/startup/ and /mmc/mmca1/startup/
#!/bin/bash
# Startup script by Ake @ ThaiLinuxPDA.com Aug 9, 2007
# ----------------------------------
if test -d /ezxlocal/download/mystuff/startup;
then
dir -1 /ezxlocal/download/mystuff/startup/*.lin | while read linfile;
do
exec &
done
fi
if test -d /mmc/mmca1/startup;
then
dir -1 /mmc/mmca1/startup/*.lin | while read linfile;
do
exec &
done
fi
becarefull for filename. scripts in rc.d runed by name ordering. SXX is a startup script KXX is a ending script. more for information see Linux Run Level. (I'm a newbie or intermediate to it)



Reply With Quote



