diff --git a/CONTROL/control b/CONTROL/control index 39524268..ae413123 100644 --- a/CONTROL/control +++ b/CONTROL/control @@ -1,7 +1,7 @@ Package: webif Priority: optional Section: web -Version: 1.0.7 +Version: 1.0.7-2 Architecture: mipsel Maintainer: af123@hummypkg.org.uk Depends: webif-channelicons(>=1.1.4),mongoose(>=3.0-9),jim(>=0.73-1),jim-oo,jim-sqlite3(>=0.73-1),jim-cgi(>=0.7),jim-binary,service-control(>=1.2),busybox(>=1.20.2-1),lsof,epg(>=1.0.13),hmt(>=1.1.14),ssmtp,anacron,trm(>=1.1),openssl-command,nicesplice,id3v2,file,rsvsync(>=1.0.2),webif-charts(>=1.2),stripts(>=1.2.3),smartmontools,tmenu(>=1.05),ffmpeg,id3v2,multienv(>=1.6) diff --git a/var/mongoose/html/diag/diskack.jim b/var/mongoose/html/diag/diskack.jim index c68ff482..331574bc 100755 --- a/var/mongoose/html/diag/diskack.jim +++ b/var/mongoose/html/diag/diskack.jim @@ -9,7 +9,7 @@ set settings [settings] foreach attr {realloc pending offline} { set val [$settings _nval_setting "SMART_$attr"] - if {$val <= 0} continue + if {$val < 0} continue $settings _nval_setting "SMART_ack_$attr" $val } diff --git a/var/mongoose/lib/settings.class b/var/mongoose/lib/settings.class index 76962bb9..6e13d8c0 100644 --- a/var/mongoose/lib/settings.class +++ b/var/mongoose/lib/settings.class @@ -35,7 +35,7 @@ class settings { settings method hostname {{name ""}} { if {$name == ""} { # Get - if {[catch {set fd [open "/var/lib/humaxtv/hostname" r]}]} { + if {[catch {set fd [open "/var/lib/humaxtv/mod/hostname" r]}]} { set name "humax" } else { set name [string trim [read $fd]] @@ -45,10 +45,10 @@ settings method hostname {{name ""}} { } else { # Set if [string is alnum -strict $name] { - set fd [open "/var/lib/humaxtv/hostname" w] + set fd [open "/var/lib/humaxtv/mod/hostname" w] puts $fd $name close $fd - exec hostname -F /var/lib/humaxtv/hostname + exec hostname -F /var/lib/humaxtv/mod/hostname } } }