Run network6_pass1 if ipv6_enable is YES

This commit is contained in:
Brian Somers 2001-05-18 09:14:39 +00:00
parent 952e162265
commit b36a733b6e
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=76803

View file

@ -56,4 +56,19 @@ fi
echo 'Doing stage one network startup:'
network_pass1
case ${ipv6_enable} in
[Yy][Ee][Ss])
if [ -r /etc/rc.network6 ]; then
. /etc/rc.network6
else
echo 'Sorry, I cannot find /etc/rc.network6 - aborting'
exit 1
fi
echo 'Doing stage one network6 startup:'
network6_pass1
;;
esac
exit 0