summaryrefslogtreecommitdiffstats
path: root/extras/hook-scripts/stop/pre/S29CTDB-teardown.sh
diff options
context:
space:
mode:
Diffstat (limited to 'extras/hook-scripts/stop/pre/S29CTDB-teardown.sh')
-rwxr-xr-xextras/hook-scripts/stop/pre/S29CTDB-teardown.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/extras/hook-scripts/stop/pre/S29CTDB-teardown.sh b/extras/hook-scripts/stop/pre/S29CTDB-teardown.sh
index 0b6e50e..bfbd356 100755
--- a/extras/hook-scripts/stop/pre/S29CTDB-teardown.sh
+++ b/extras/hook-scripts/stop/pre/S29CTDB-teardown.sh
@@ -60,7 +60,7 @@ function remove_ctdb_options () {
function remove_fstab_entry () {
volname=$1
mntpt=$2
- mntent="`hostname`:/$volname $mntpt glusterfs defaults,transport=tcp 0 0"
+ mntent="`hostname`:/$volname $mntpt glusterfs _netdev,defaults,transport=tcp 0 0"
esc_mntent=$(echo -e "$mntent" | sed 's/\//\\\//g')
exists=`grep "^$mntent" /etc/fstab`
if [ "$exists" != " " ]