summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authortv <tv@99302b65-d5f7-0310-b3dd-f8cd6f4e3d94>2008-03-05 15:51:47 +0000
committertv <tv@99302b65-d5f7-0310-b3dd-f8cd6f4e3d94>2008-03-05 15:51:47 +0000
commitd8471989bf525ac5510f461e97334bf5dca85641 (patch)
treea8f9e71e014107349fbd277f2e7e8736b92dc8bd
parent24872ef166a6a231ce55d008f29a59ae1e7a863f (diff)
downloaddraksnapshot-d8471989bf525ac5510f461e97334bf5dca85641.tar
draksnapshot-d8471989bf525ac5510f461e97334bf5dca85641.tar.gz
draksnapshot-d8471989bf525ac5510f461e97334bf5dca85641.tar.bz2
draksnapshot-d8471989bf525ac5510f461e97334bf5dca85641.tar.xz
draksnapshot-d8471989bf525ac5510f461e97334bf5dca85641.zip
(silentCheck) ligther check
git-svn-id: http://svn.mandriva.com/svn/soft/draksnapshot/trunk@238665 99302b65-d5f7-0310-b3dd-f8cd6f4e3d94
-rw-r--r--NEWS1
-rwxr-xr-xdraksnapshot-applet2
2 files changed, 2 insertions, 1 deletions
diff --git a/NEWS b/NEWS
index dd5584a..7fb5bec 100644
--- a/NEWS
+++ b/NEWS
@@ -1,5 +1,6 @@
- applet:
o check only every 5s
+ o ligther check
Version 0.3 - 6 March 2008, Thierry Vignaud
diff --git a/draksnapshot-applet b/draksnapshot-applet
index 09aa55a..ce95772 100755
--- a/draksnapshot-applet
+++ b/draksnapshot-applet
@@ -147,7 +147,7 @@ sub silentCheck() {
# force refreshing cache:
detect_devices::probeall_update_cache();
- @discs = grep { $_->{usb_bus} } detect_devices::hds();
+ @discs = grep { $_->{usb_bus} && detect_devices::may_be_a_hd($_) } detect_devices::getSCSI();
go2State('okay') if !@discs;
# are there any updates ?