aboutsummaryrefslogtreecommitdiff
path: root/sh/rc-functions.sh
diff options
context:
space:
mode:
Diffstat (limited to 'sh/rc-functions.sh')
-rwxr-xr-xsh/rc-functions.sh3
1 files changed, 2 insertions, 1 deletions
diff --git a/sh/rc-functions.sh b/sh/rc-functions.sh
index a346796f..571a0cf1 100755
--- a/sh/rc-functions.sh
+++ b/sh/rc-functions.sh
@@ -45,6 +45,7 @@ stop_addon() {
( import_addon "$1-stop" )
}
+net_fs_list="afs cifs coda davfs fuse gfs ncpfs nfs nfs4 ocfs2 shfs smbfs"
is_net_fs() {
[ -z "$1" ] && return 1
@@ -54,7 +55,7 @@ is_net_fs() {
# Fall back on fs types
local t=$(mountinfo --fstype "$1")
- for x in ${RC_NET_FS_LIST}; do
+ for x in ${net_fs_list}; do
[ "${x}" = "${t}" ] && return 0
done
return 1