--- root/usr/mww/cgi-bin/status.cgi.orig 2007-02-09 17:28:54.000000000 +0100 +++ root/usr/mww/cgi-bin/status.cgi 2007-02-09 17:21:52.000000000 +0100 @@ -73,5 +73,6 @@ stat_button 'restart_dsld' 'Restart dsld' stat_button 'cleanup' 'Cleanup tffs' stat_button 'downgrade' 'Downgrade Mod' +stat_button 'fw_attrib' '$(lang de:"Attribute bereinigen" en:"Cleanup attributes")' cgi_end --- root/usr/mww/cgi-bin/exec.cgi.orig 2007-02-09 17:29:07.000000000 +0100 +++ root/usr/mww/cgi-bin/exec.cgi 2007-02-09 17:21:12.000000000 +0100 @@ -64,6 +64,20 @@ echo '
' cgi_end ;; + fw_attrib) + cgi_begin '$(lang de:"Attribute bereinigen" en:"Cleanup attributes")' + echo '

$(lang de:"Entfernt Merker für \"nicht unterstützte Änderungen\"" en:"Cleans up marker for \"unauthorized changes\"")

' + echo -n '
$(lang de:"bereinige Attribute" en:"cleaning up attributes")...'
+		major=$(grep tffs /proc/devices)
+		tffs_major=${major%%tffs}
+		rm -f /var/flash/fw_attrib
+		mknod /var/flash/fw_attrib c $tffs_major 87
+		echo -n "" > /var/flash/fw_attrib
+		rm -f /var/flash/fw_attrib
+		echo ' $(lang de:"fertig" en:"done").
' + echo '
' + cgi_end + ;; restart_dsld) cgi_begin '$(lang de:"Starte dsld neu" en:"Restart dsld")...' echo -n '
Stopping dsld...
'