Splux Linux

source-based Linux using SPS

sps-extra · log · files · refs · tags · releases · people · languages · GitHub · file

fs/nfs-utils/files/s6-nfs-server


Shell

258 bytes at e2d5247 · GitHub

#!/bin/sh
exec 2>&1
if command -v exportfs >/dev/null 2>&1; then exportfs -ra || :; fi
if command -v rpc.statd >/dev/null 2>&1; then rpc.statd --no-notify || :; fi
if command -v rpc.nfsd >/dev/null 2>&1; then rpc.nfsd 8 || :; fi
exec /usr/sbin/rpc.mountd -F