/etc/init.d/nfs: type -t config 2>/dev/null 1>&2 && config /etc/exports /etc/init.d/nfsmount: type -t config 2>/dev/null 1>&2 && config /etc/fstab `type -t` is a bashism, it doesn't work with dash nor zsh. (http://www.opengroup.org/onlinepubs/7990989775/xcu/type.html) Possible fixes are: (1) type config 2>/dev/null 1>&2 && config /etc/fstab (2) command -v config 2>/dev/null 1>&2 && config /etc/fstab (3) [ "$(command -v "config")" = "config" ] && config /etc/fstab
the check is no longer needed, so it can just be dropped http://sources.gentoo.org/net-fs/nfs-utils/files/nfs.initd?r1=1.12&r2=1.13 http://sources.gentoo.org/net-fs/nfs-utils/files/nfsmount.initd?r1=1.11&r2=1.12
You got the path wrong in nfs.initd - should be /etc/exports, not /etc/fstab.
just a copy & paste bug http://sources.gentoo.org/net-fs/nfs-utils/files/nfs.initd?r1=1.13&r2=1.14