From: | "Thilo Bangert (bangert)" <bangert@g.o> |
---|---|
To: | gentoo-commits@l.g.o |
Subject: | [gentoo-commits] gentoo-x86 commit in app-laptop/hdapsd/files: hdapsd.init |
Date: | Sun, 25 Oct 2009 18:40:09 |
Message-Id: | E1N280e-00014C-86@stork.gentoo.org |
1 | bangert 09/10/25 18:40:08 |
2 | |
3 | Modified: hdapsd.init |
4 | Log: |
5 | check for blockdevice - not file |
6 | (Portage version: 2.2_rc46/cvs/Linux i686) |
7 | |
8 | Revision Changes Path |
9 | 1.6 app-laptop/hdapsd/files/hdapsd.init |
10 | |
11 | file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-laptop/hdapsd/files/hdapsd.init?rev=1.6&view=markup |
12 | plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-laptop/hdapsd/files/hdapsd.init?rev=1.6&content-type=text/plain |
13 | diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-laptop/hdapsd/files/hdapsd.init?r1=1.5&r2=1.6 |
14 | |
15 | Index: hdapsd.init |
16 | =================================================================== |
17 | RCS file: /var/cvsroot/gentoo-x86/app-laptop/hdapsd/files/hdapsd.init,v |
18 | retrieving revision 1.5 |
19 | retrieving revision 1.6 |
20 | diff -u -r1.5 -r1.6 |
21 | --- hdapsd.init 16 Oct 2009 11:57:43 -0000 1.5 |
22 | +++ hdapsd.init 25 Oct 2009 18:40:07 -0000 1.6 |
23 | @@ -12,7 +12,7 @@ |
24 | return 1 |
25 | fi |
26 | |
27 | - if [ ! -f /dev/${DISK} ]; then |
28 | + if [ ! -b /dev/${DISK} ]; then |
29 | eerror "Could not find disk /dev/${DISK}!" |
30 | eerror "Adjust teh DISK setting in /etc/conf.d/hdapsd" |
31 | return 1 |