# util-linux for libblkid
DEPENDS = "libcap libnfsidmap libevent util-linux tcp-wrappers"
-RDEPENDS_${PN} = "portmap"
+RDEPENDS_${PN} = "rpcbind"
RRECOMMENDS_${PN} = "kernel-module-nfsd"
PR = "r5"
#!/bin/sh
### BEGIN INIT INFO
# Provides: mountnfs
-# Required-Start: $local_fs $network $portmap
+# Required-Start: $local_fs $network $rpcbind
# Required-Stop:
# Default-Start: S
# Default-Stop:
#
# Read through fstab line by line. If it is NFS, set the flag
# for mounting NFS filesystems. If any NFS partition is found and it
-# not mounted with the nolock option, we start the portmapper.
+# not mounted with the nolock option, we start the rpcbind.
#
-portmap=no
+rpcbind=no
mount_nfs=no
mount_smb=no
mount_ncp=no
*nolock*)
;;
*)
- portmap=yes
+ rpcbind=yes
;;
esac
fi
exec 0>&1
-if test "$portmap" = yes
+if test "$rpcbind" = yes
then
- if test -x /sbin/portmap
+ if test -x /usr/sbin/rpcbind
then
- echo -n "Starting portmapper... "
- start-stop-daemon --start --quiet --exec /sbin/portmap
+ echo -n "Starting rpcbind... "
+ start-stop-daemon --start --quiet --exec /usr/sbin/rpcbind
sleep 2
fi
fi