summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2006-02-22 00:07:45 +0000
committerMike Frysinger <vapier@gentoo.org>2006-02-22 00:07:45 +0000
commita69fe8bae0ba76bf00c74f1e9352b53d5beafc81 (patch)
tree29311b3773fde3719364353ee345ed76e2db937f /sys-apps
parentMark 0.7.6 ~ia64 (diff)
downloadgentoo-2-a69fe8bae0ba76bf00c74f1e9352b53d5beafc81.tar.gz
gentoo-2-a69fe8bae0ba76bf00c74f1e9352b53d5beafc81.tar.bz2
gentoo-2-a69fe8bae0ba76bf00c74f1e9352b53d5beafc81.zip
only use devfs-compatible code when devfs is mounted on /dev #123647
(Portage version: 2.1_pre4-r1)
Diffstat (limited to 'sys-apps')
-rw-r--r--sys-apps/hdparm/files/hdparm-init-72
1 files changed, 1 insertions, 1 deletions
diff --git a/sys-apps/hdparm/files/hdparm-init-7 b/sys-apps/hdparm/files/hdparm-init-7
index de40beb6342a..56263f074fc2 100644
--- a/sys-apps/hdparm/files/hdparm-init-7
+++ b/sys-apps/hdparm/files/hdparm-init-7
@@ -37,7 +37,7 @@ do_hdparm() {
start() {
- if [ -d /dev/ide ]
+ if [ -e /dev/.devfs ] && [ -d /dev/ide ]
then
# devfs compatible systems