aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--init.d/localmount.in4
-rw-r--r--init.d/mount-ro.in2
-rw-r--r--init.d/netmount.in6
-rw-r--r--sh/rc-functions.sh.in2
4 files changed, 7 insertions, 7 deletions
diff --git a/init.d/localmount.in b/init.d/localmount.in
index 734a7f84..efbddc79 100644
--- a/init.d/localmount.in
+++ b/init.d/localmount.in
@@ -16,7 +16,7 @@ start()
{
# Mount local filesystems in /etc/fstab.
local types="noproc" x= no_netdev=
- for x in $net_fs_list; do
+ for x in $net_fs_list $extra_net_fs_list; do
types="${types},${x}"
done
@@ -70,7 +70,7 @@ stop()
einfo "Unmounting filesystems"
eindent
local fs=
- for x in $net_fs_list; do
+ for x in $net_fs_list $extra_net_fs_list; do
fs="$fs${fs:+|}$x"
done
[ -n "$fs" ] && fs="^($fs)$"
diff --git a/init.d/mount-ro.in b/init.d/mount-ro.in
index 4b89b044..dc2a098e 100644
--- a/init.d/mount-ro.in
+++ b/init.d/mount-ro.in
@@ -34,7 +34,7 @@ start()
fi
m="^($m)$"
fs=
- for x in $net_fs_list; do
+ for x in $net_fs_list $extra_net_fs_list; do
fs="$fs${fs:+|}$x"
done
[ -n "$fs" ] && fs="^($fs)$"
diff --git a/init.d/netmount.in b/init.d/netmount.in
index 4cc8842f..963ad26d 100644
--- a/init.d/netmount.in
+++ b/init.d/netmount.in
@@ -44,7 +44,7 @@ start()
[ -x @SYSCONFDIR@/init.d/rpcbind ] && pmap="rpcbind"
local x= fs= rc=
- for x in $net_fs_list; do
+ for x in $net_fs_list $extra_net_fs_list; do
case "$x" in
nfs|nfs4)
# If the nfsmount script took care of the nfs
@@ -81,7 +81,7 @@ stop()
ebegin "Unmounting network filesystems"
. "$RC_LIBEXECDIR"/sh/rc-mount.sh
- for x in $net_fs_list; do
+ for x in $net_fs_list $extra_net_fs_list; do
fs="$fs${fs:+,}$x"
done
if [ -n "$fs" ]; then
@@ -90,7 +90,7 @@ stop()
eindent
fs=
- for x in $net_fs_list; do
+ for x in $net_fs_list $extra_net_fs_list; do
fs="$fs${fs:+|}$x"
done
[ -n "$fs" ] && fs="^($fs)$"
diff --git a/sh/rc-functions.sh.in b/sh/rc-functions.sh.in
index 02f84b47..50ba20b5 100644
--- a/sh/rc-functions.sh.in
+++ b/sh/rc-functions.sh.in
@@ -39,7 +39,7 @@ stop_addon()
}
net_fs_list="afs cifs coda davfs fuse fuse.sshfs gfs glusterfs lustre
-ncpfs nfs nfs4 ocfs2 shfs smbfs $extra_net_fs_list"
+ncpfs nfs nfs4 ocfs2 shfs smbfs"
is_net_fs()
{
[ -z "$1" ] && return 1