From 347f7989ecb2a52188d8253abc598aace6e0e7f5 Mon Sep 17 00:00:00 2001 From: hummypkg Date: Mon, 22 Feb 2016 22:42:27 +0000 Subject: [PATCH] add exfat to drive types git-svn-id: file:///root/webif/svn/pkg/webif/trunk@2696 2a923420-c742-0410-a762-8d5b09965624 --- CONTROL/control | 2 +- webif/lib/system.class | 5 +++-- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/CONTROL/control b/CONTROL/control index 51f40818..2d6161a9 100644 --- a/CONTROL/control +++ b/CONTROL/control @@ -1,7 +1,7 @@ Package: webif Priority: optional Section: web -Version: 1.2.8-7 +Version: 1.2.8-8 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),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,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) diff --git a/webif/lib/system.class b/webif/lib/system.class index ebac1c88..e81986c5 100644 --- a/webif/lib/system.class +++ b/webif/lib/system.class @@ -603,14 +603,15 @@ proc {system usbmounts} {{full 0}} { set num 0 catch { set num [ - exec grep -cE {/media/(usb-|gpt-)?drive} \ + exec grep -cE {/media/(usb-|gpt-|exfat-)?drive} \ /proc/mounts] } return $num } set ret {} if {[catch { - set lines [exec grep -E {media/(usb-|gpt-)?drive} /proc/mounts] + set lines [exec grep -E {media/(usb-|gpt-|exfat-)?drive} \ + /proc/mounts] }]} { return $ret } foreach line [split $lines "\n"] { lassign $line dev mp