aboutsummaryrefslogtreecommitdiff
path: root/init.d/netmount
diff options
context:
space:
mode:
authorRoy Marples <roy@marples.name>2007-11-23 12:04:11 +0000
committerRoy Marples <roy@marples.name>2007-11-23 12:04:11 +0000
commitd81def80b00a3dbcb4f8980f4503c4d659b48a2a (patch)
tree64a5df4281620cacbc1f03838d42e88167886fc9 /init.d/netmount
parentf077f179edaeb746b267421baa29ec751c38b713 (diff)
Move /etc/conf.d/rc to /etc/rc.conf.
Lowercase all configurable variables, non configurations remain uppercase. Replace rc_env_bool with rc_yesno. Split localmount info procfs (Linux) and dumpon, savecore (BSD)
Diffstat (limited to 'init.d/netmount')
-rwxr-xr-xinit.d/netmount6
1 files changed, 3 insertions, 3 deletions
diff --git a/init.d/netmount b/init.d/netmount
index f1603289..8742f9e0 100755
--- a/init.d/netmount
+++ b/init.d/netmount
@@ -59,7 +59,7 @@ start() {
[ -x /etc/init.d/rpcbind ] && pmap="rpcbind"
local x= fs=
- for x in ${RC_NET_FS_LIST}; do
+ for x in ${net_fs_list}; do
case "${x}" in
nfs|nfs4)
# If the nfsmount script took care of the nfs filesystems,
@@ -89,7 +89,7 @@ stop() {
ebegin "Unmounting network filesystems"
. "${RC_LIBDIR}/sh/rc-mount.sh"
- for x in ${RC_NET_FS_LIST} ; do
+ for x in ${net_fs_list} ; do
fs="${fs}${fs:+,}${x}"
done
if [ -n "${fs}" ]; then
@@ -98,7 +98,7 @@ stop() {
eindent
fs=
- for x in ${RC_NET_FS_LIST}; do
+ for x in ${net_fs_list}; do
fs="${fs}${fs:+|}${x}"
done
[ -n "${fs}" ] && fs="^(${fs})$"