Allgemein

 Startseite
 Gruppen
 Rangliste
 Stats
 Team
 Forum
 Download
 FAQ
 Impressum / Kontakt


User

 einloggen
 registrieren


User suche

 Usersuche
       


Statistik

Benutzer: 5769
Geräte: 3081
Aktive Geräte: 16

Beste Uptime
Drecksackblase mit 2437d 14:36

Bester Uptimerekord
Drecksackblase mit 2437d 14:36


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

Homepage

.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.

---
[image]


Ihr Link zu Jacob Elektronik Leistungsstarke Basispakete fü intelligentes Haus unter www.eibmarkt.com! 40 Gratis Abzü Einkaufen bei QUELLE hotel.de - 210.000 Hotels weltweit buchen Es münicht immer Blumen sein

© 2007