summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Zoffoli <xmerlin@gentoo.org>2005-03-25 16:06:31 +0000
committerChristian Zoffoli <xmerlin@gentoo.org>2005-03-25 16:06:31 +0000
commit8367a368c47cd789d43e40f6b37e949289554b64 (patch)
tree0daf53e9538ff9969d477469beaa82b0122185ca /sys-cluster/fence/files
parentstable wrt bug #86516 (diff)
downloadgentoo-2-8367a368c47cd789d43e40f6b37e949289554b64.tar.gz
gentoo-2-8367a368c47cd789d43e40f6b37e949289554b64.tar.bz2
gentoo-2-8367a368c47cd789d43e40f6b37e949289554b64.zip
ebuild cleaned up, some cosmetic improvements on the init script
(Portage version: 2.0.51.19)
Diffstat (limited to 'sys-cluster/fence/files')
-rw-r--r--sys-cluster/fence/files/digest-fence-1.51
-rwxr-xr-xsys-cluster/fence/files/fenced.rc6
2 files changed, 3 insertions, 4 deletions
diff --git a/sys-cluster/fence/files/digest-fence-1.5 b/sys-cluster/fence/files/digest-fence-1.5
deleted file mode 100644
index ef0718b7eb82..000000000000
--- a/sys-cluster/fence/files/digest-fence-1.5
+++ /dev/null
@@ -1 +0,0 @@
-MD5 b315592ae9137ceefc9422b2abe580bd fence-1.5.tar.gz 75948
diff --git a/sys-cluster/fence/files/fenced.rc b/sys-cluster/fence/files/fenced.rc
index 68c7b6abbe09..e6d03aa27637 100755
--- a/sys-cluster/fence/files/fenced.rc
+++ b/sys-cluster/fence/files/fenced.rc
@@ -1,7 +1,7 @@
#!/sbin/runscript
# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-cluster/fence/files/fenced.rc,v 1.4 2005/03/25 02:15:31 xmerlin Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-cluster/fence/files/fenced.rc,v 1.5 2005/03/25 16:06:31 xmerlin Exp $
depend() {
use net
@@ -16,7 +16,7 @@ start() {
umount_gfs_filesystems() {
local sig retry
- local remaining="$(awk '$3 ~ /gfs/ { print $2 }' /proc/mounts | sort -r)"
+ local remaining="$(awk '$3 == "gfs" { print $2 }' /proc/mounts)"
if [ -n "${remaining}" ]
then
@@ -34,7 +34,7 @@ umount_gfs_filesystems() {
umount ${remaining} &>/dev/null
eend $? "Failed to unmount GFS filesystems"
fi
- remaining="$(awk '$3 ~ /gfs/ { if ($2 != "/") print $2 }' /proc/mounts | sort -r)"
+ remaining="$(awk '$3 == "gfs" { print $2 }' /proc/mounts)"
[ -z "${remaining}" ] && break
/bin/fuser -k -m ${sig} ${remaining} &>/dev/null
sleep 5