mirror of
https://github.com/gtxaspec/wz_mini_hacks.git
synced 2024-12-23 04:33:36 +00:00
add ipv6 config flag
This commit is contained in:
parent
54596ffd9c
commit
4feaced010
@ -18,6 +18,8 @@ REMOTE_SPOTLIGHT_HOST="0.0.0.0"
|
||||
RTSP_ENABLED="false"
|
||||
RTSP_ENABLE_AUDIO="false"
|
||||
|
||||
ENABLE_IPV6="false"
|
||||
|
||||
DEBUG_ENABLED="false"
|
||||
|
||||
#####################################
|
||||
@ -35,6 +37,13 @@ swap_enable() {
|
||||
fi
|
||||
}
|
||||
|
||||
if [[ "$ENABLE_IPV6" == "true" ]]; then
|
||||
echo "ipv6 enabled"
|
||||
else
|
||||
echo "ipv6 disabled"
|
||||
sysctl -w net.ipv6.conf.all.disable_ipv6=1
|
||||
fi
|
||||
|
||||
if [[ "$ENABLE_USB_ETH" == "true" ]]; then
|
||||
|
||||
swap_enable
|
||||
|
Loading…
Reference in New Issue
Block a user