Trigger rc.newwaipv6 as well from pppoe when it gets an inet6 config

This commit is contained in:
Ermal 2014-02-21 13:38:00 +00:00
parent 080fd00bac
commit e45a0b69e7

View File

@ -30,6 +30,7 @@ if [ "$2" == "inet" ]; then
/usr/local/sbin/pfSctl -c 'service reload dns'
/bin/sleep 1
fi
/usr/local/sbin/pfSctl -c "interface newip $1"
fi
if [ "$2" == "inet6" ]; then
@ -54,8 +55,7 @@ if [ "$2" == "inet6" ]; then
/usr/local/sbin/pfSctl -c 'service reload dns'
/bin/sleep 1
fi
else
/usr/local/sbin/pfSctl -c "interface newip $1"
/usr/local/sbin/pfSctl -c "interface newipv6 $1"
fi
exit 0