From ba0c2ca3110c996b6acb55bb4f98128466ac20b5 Mon Sep 17 00:00:00 2001 From: hummypkg Date: Wed, 21 Dec 2016 18:12:23 +0000 Subject: [PATCH] fix default autofreq git-svn-id: file:///root/webif/svn/pkg/webif/trunk@3443 2a923420-c742-0410-a762-8d5b09965624 --- CONTROL/control | 2 +- webif/lib/bin/auto | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/CONTROL/control b/CONTROL/control index f2491b0e..8eb05fb4 100644 --- a/CONTROL/control +++ b/CONTROL/control @@ -1,7 +1,7 @@ Package: webif Priority: optional Section: web -Version: 1.3.4-6 +Version: 1.3.4-7 Architecture: mipsel Maintainer: af123@hpkg.tv Depends: tcpfix,webif-channelicons(>=1.1.24),lighttpd(>=1.4.39-1),jim(>=0.77),jim-oo(>=0.77),jim-sqlite3(>=0.76),jim-cgi(>=0.7-1),jim-binary(>=0.76),service-control(>=2.3),busybox(>=1.20.2-1),lsof(>=4.87),epg(>=1.2.3),hmt(>=2.0.10),ssmtp,cron-daemon(>=1.18.3-3),at(>=3.1.18),anacron,trm(>=1.1),openssl-command,nicesplice,id3v2,file,rsvsync(>=1.1.9),webif-charts(>=1.2-1),stripts(>=1.2.5-3),tmenu(>=1.08),ffmpeg,id3v2,multienv(>=1.6),tcpping(>=1.1),e2fsprogs,wireless-tools(>=29-1),dbupdate,recmon(>=2.0.7),hwctl,nugget(>=0.95),sqlite3(>=3.15.1) diff --git a/webif/lib/bin/auto b/webif/lib/bin/auto index 9b107f32..0390202a 100755 --- a/webif/lib/bin/auto +++ b/webif/lib/bin/auto @@ -155,6 +155,7 @@ dsc oktorun if {!$manualrun} { set autofreq [$settings autofreq] + if {$autofreq == 0} { set autofreq 20 } set timesincelast $(([clock seconds] - [$settings autolast]) / 60) if {![queue size] && $timesincelast < $autofreq} {