aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xrc.d/init.d/netfs6
1 files changed, 5 insertions, 1 deletions
diff --git a/rc.d/init.d/netfs b/rc.d/init.d/netfs
index 929171fc..7e192239 100755
--- a/rc.d/init.d/netfs
+++ b/rc.d/init.d/netfs
@@ -32,7 +32,11 @@ NCPMTAB=`grep -v '^#' /proc/mounts | awk '{ if ($3 ~ /^ncpfs$/ ) print $2}'`
# See how we were called.
case "$1" in
start)
- [ -n "$NFSFSTAB" ] && action "Mounting NFS filesystems: " mount -a -t nfs
+ [ -n "$NFSFSTAB" ] &&
+ {
+ [ ! -f /var/lock/subsys/portmap ] && service portmap start
+ action "Mounting NFS filesystems: " mount -a -t nfs
+ }
[ -n "$SMBFSTAB" ] && action "Mounting SMB filesystems: " mount -a -t smbfs
[ -n "$NCPFSTAB" ] && action "Mounting NCP filesystems: " mount -a -t ncpfs
touch /var/lock/subsys/netfs