mirror of
https://github.com/freebsd/freebsd-src
synced 2024-09-06 17:18:32 +00:00
Run network6_pass1 if ipv6_enable is YES
This commit is contained in:
parent
952e162265
commit
b36a733b6e
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=76803
15
etc/netstart
15
etc/netstart
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue