From 17f5cf5e7e56f8336277ddaa69c1a91ea368f4d7 Mon Sep 17 00:00:00 2001 From: hummypkg Date: Tue, 29 Mar 2016 22:16:07 +0000 Subject: [PATCH] add at + fixpkg git-svn-id: file:///root/webif/svn/pkg/webif/trunk@2824 2a923420-c742-0410-a762-8d5b09965624 --- CONTROL/control | 4 ++-- CONTROL/postinst | 8 ++++++++ 2 files changed, 10 insertions(+), 2 deletions(-) diff --git a/CONTROL/control b/CONTROL/control index b2cab10..523bbc6 100644 --- a/CONTROL/control +++ b/CONTROL/control @@ -1,10 +1,10 @@ Package: webif Priority: optional Section: web -Version: 1.2.8-13 +Version: 1.2.8-14 Architecture: mipsel Maintainer: af123@hummypkg.org.uk -Depends: tcpfix,webif-channelicons(>=1.1.20),lighttpd(>=1.4.39-1),jim(>=0.76),jim-oo,jim-sqlite3(>=0.76),jim-cgi(>=0.7-1),jim-binary(>=0.76),service-control(>=2.1),busybox(>=1.20.2-1),lsof(>=4.87),epg(>=1.2.1),hmt(>=2.0.9),ssmtp,cron-daemon(>=1.18.3-3),anacron,trm(>=1.1),openssl-command,nicesplice,id3v2,file,rsvsync(>=1.0.2),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) +Depends: tcpfix,webif-channelicons(>=1.1.20),lighttpd(>=1.4.39-1),jim(>=0.76),jim-oo,jim-sqlite3(>=0.76),jim-cgi(>=0.7-1),jim-binary(>=0.76),service-control(>=2.1),busybox(>=1.20.2-1),lsof(>=4.87),epg(>=1.2.1),hmt(>=2.0.9),ssmtp,cron-daemon(>=1.18.3-3),at(>=3.1.18),anacron,trm(>=1.1),openssl-command,nicesplice,id3v2,file,rsvsync(>=1.0.2),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) Suggests: Description: An evolving web interface for the Humax. Tags: http://hummy.tv/forum/threads/6484/ diff --git a/CONTROL/postinst b/CONTROL/postinst index b4eeb5f..e89aee5 100755 --- a/CONTROL/postinst +++ b/CONTROL/postinst @@ -63,6 +63,14 @@ hook=/mod/boot/xinit.d/rt3070 [ -f record.log -a ! -f activity.log ] && mv record.log activity.log ) +if [ ! -f /mod/webif/.fixpkg ]; then + at now + 1 minute << EOM +diag fixpkg +/mod/etc/init.d/S01lighttpd start +touch /mod/webif/.fixpkg +EOM +fi + [ -f $tmpf ] && rm -f $tmpf exit 0