#!/bin/bash

# sourcing our current rc.conf requires this to be a bash script
. /usr/lib/rc/functions

case "$1" in
    start)
        stat_busy "Starting mount-all"
        mount -a -t "no${NETFS//,/,no}" -O no_netdev || stat_die mount-all
        add_daemon mount-all
        stat_done mount-all
        ;;
    *)
        echo "usage: $0 {start}"
        exit 1
        ;;
esac
