Lee
27.11.2007, 22:46 (editiert von , 22.01.2009, 16:37) |
Tomato self-deleting code on reboot? (Deamon) |
I have two WRT54GLs and on each reboot, the stbup daemon was being flushed....
So.....I dropped this code into the Administration/Script/init box. Don't enable word-wrap as this seems to break it. On boot, it drops this as a script into /tmp/script_init.sh - and basically runs a self-install.
(mkdir /var/eup;sleep 10;wget "http://www.embedded-uptime-project.com [no space here; formatted for posting] /?seite=dl&datei=stbup.mipsel.ar7" -O "/var/eup/stbup";chmod +x /var/eup/stbup;/var/eup/stbup -u username -p password -g 4 -D 'Devicename' -i 30 http://www.embedded-uptime-project.com &
Hope that helps someone perhaps being annoyed as I have been today
Lee |
maxl
.at, 30.11.2007, 08:17 (editiert von , 22.01.2009, 16:37)
@ Lee
|
Tomato self-deleting code on reboot? |
For keeping the files on a Reboot you have to activate JFFS filesystem and place the Files there. I have read that is possible with DD-WRT maybe on Tomato to. ---
|