Oops, I forgot to take it easy...
the main idea of init scripts is to replace the normal startup-sequence. Like autoexec.bat.
to replace the original init script with another :
copy the script from my reply to a file on the PC using copy and paste and name it init.txt
NOTE : the line with "#!/bin/bash" must be the first line and it must be aligned to the left.
connect hyperterm and stop the player app
now type the following command in hyperterm :
# rw
# cd /sbin
# mv init init.empeg
use "send file" from the hyperterminal-menu (not "send text file") to send the init.txt file to the empeg
the prompt should return after sending
# cat init.txt | sed 's/.$//' > init
# chmod +x init
# ro
Pull plug and reboot
After reboot it should work as desired. If it doesn't, you can always reinstall the consumer or developer image to get the deault init back.
Frank van Gestel
Edited by fvgestel on 18/04/01 12:54 AM.