Remove deprecated ip6slaac option * use proto=dhcpv6 with reqprefix=no instead
SVN-Revision: 36280
This commit is contained in:
parent
2c087dc785
commit
3abc915522
1 changed files with 0 additions and 19 deletions
|
@ -1,19 +0,0 @@
|
|||
case "$ACTION" in
|
||||
ifup)
|
||||
. /lib/functions.sh
|
||||
|
||||
local proto ip6slaac
|
||||
config_load network
|
||||
config_get proto "$INTERFACE" proto
|
||||
config_get_bool ip6slaac "$INTERFACE" ip6slaac
|
||||
|
||||
if [ "$proto" = "static" -a "$ip6slaac" = "1" ]; then
|
||||
echo 2 > "/proc/sys/net/ipv6/conf/$DEVICE/accept_ra"
|
||||
|
||||
# Though this should be save here, it is not recommended
|
||||
echo 1 > "/proc/sys/net/ipv6/conf/$DEVICE/disable_ipv6"
|
||||
echo 0 > "/proc/sys/net/ipv6/conf/$DEVICE/disable_ipv6"
|
||||
fi
|
||||
;;
|
||||
esac
|
||||
|
Loading…
Reference in a new issue