Return to netstart CVS log | Up to [local] / src / etc |
version 1.169, 2016/07/19 08:03:01 | version 1.170, 2016/09/09 19:48:16 | ||
---|---|---|---|
|
|
||
done | done | ||
} | } | ||
# Make sure the invoking user has the right privileges. | |||
if (($(id -u) != 0)); then | |||
echo "${0##*/}: need root privileges" | |||
exit 1 | |||
fi | |||
# Get network related vars from rc.conf using the parsing routine from rc.subr. | # Get network related vars from rc.conf using the parsing routine from rc.subr. | ||
FUNCS_ONLY=1 . /etc/rc.d/rc.subr | FUNCS_ONLY=1 . /etc/rc.d/rc.subr | ||
_rc_parse_conf | _rc_parse_conf |