#!/bin/sh
. /boot.conf
test "$LOG_START" && echo "<*> Executing '$0 $*'"

if test "$PORTMAP_USER"; then
    # Changes user itself to rpc or bin!
    test "$LOG_STAGE" && echo "* Starting RPC portmapper (rpc.portmap) (user: rpc)"
    env - rpc.portmap $PORTMAP_COMMANDLINE \
    || echo "! rpc.portmap failure"
fi

exit 0
