diff options
-rw-r--r-- | etc/rc.conf.in | 10 | ||||
-rw-r--r-- | sh/rc-functions.sh.in | 3 |
2 files changed, 10 insertions, 3 deletions
diff --git a/etc/rc.conf.in b/etc/rc.conf.in index a9a80fa6..60e2952a 100644 --- a/etc/rc.conf.in +++ b/etc/rc.conf.in @@ -75,8 +75,14 @@ # Set unicode to YES to turn on unicode support for keyboards and screens. #unicode="NO" -# Network fstypes. Below is the default. -net_fs_list="afs cifs coda davfs fuse fuse.sshfs gfs glusterfs lustre ncpfs nfs nfs4 ocfs2 shfs smbfs" +# Below is the default list of network fstypes. +# +# afs cifs coda davfs fuse fuse.sshfs gfs glusterfs lustre ncpfs +# nfs nfs4 ocfs2 shfs smbfs +# +# If you would like to add to this list, you can do so by adding your +# own fstypes to the following variable. +#extra_net_fs_list="" ############################################################################## # SERVICE CONFIGURATION VARIABLES diff --git a/sh/rc-functions.sh.in b/sh/rc-functions.sh.in index ee9c9833..a3de2c17 100644 --- a/sh/rc-functions.sh.in +++ b/sh/rc-functions.sh.in @@ -38,7 +38,8 @@ stop_addon() ( import_addon "$1-stop" ) } -net_fs_list="afs cifs coda davfs fuse gfs ncpfs nfs nfs4 ocfs2 shfs smbfs" +net_fs_list="afs cifs coda davfs fuse fuse.sshfs gfs glusterfs lustre +ncpfs nfs nfs4 ocfs2 shfs smbfs $extra_net_fs_list" is_net_fs() { [ -z "$1" ] && return 1 |