summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'sys-fs/gfs/files/gfs.rc')
-rwxr-xr-xsys-fs/gfs/files/gfs.rc6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys-fs/gfs/files/gfs.rc b/sys-fs/gfs/files/gfs.rc
index d1045193ee5f..43015cec417c 100755
--- a/sys-fs/gfs/files/gfs.rc
+++ b/sys-fs/gfs/files/gfs.rc
@@ -1,7 +1,7 @@
#!/sbin/runscript
# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License, v2 or later
-# $Header: /var/cvsroot/gentoo-x86/sys-fs/gfs/files/gfs.rc,v 1.5 2005/03/25 15:56:05 xmerlin Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-fs/gfs/files/gfs.rc,v 1.6 2005/03/26 14:39:09 xmerlin Exp $
opts="${opts} mountall"
@@ -12,10 +12,10 @@ depend() {
if [ -n "${devices}" ]; then
local device=""
for device in ${devices}; do
- if [ -n "$(echo "${device}" | awk '$1 ~ /\/dev\/gnbd')" ]; then
+ if [ -n "$(echo "${device}" | awk '$1 ~ /\/dev\/gnbd/')" ]; then
myneed="${myneed} gnbd-client"
else
- if [ -n "$(echo "${device}" | awk '$1 ~ /\/dev\/vg')" ]; then
+ if [ -n "$(echo "${device}" | awk '$1 ~ /\/dev\/vg/')" ]; then
myneed="${myneed} clvmd"
fi
fi