corrected ipv6 configuration and module

This commit is contained in:
fatalerrors committed 2022-01-07 18:10:02 +01:00
1 parent 89b838dac3
commit ba1bd289c9
10 files changed
+22 -3

No files matched your search

+3 -3
View File
@@ -122,7 +122,7 @@ precheck_conf_network()
fi
done
fi
if [[ -z $IPV4_IFACES ]]; then
if [[ -z $IPV6_IFACES ]]; then
prnt W "No IPv6 interfaces to configure."
else
for iface in $IPV6_IFACES; do
@@ -134,10 +134,10 @@ precheck_conf_network()
if [[ -z $(eval echo \$NET6_IP_$iface) ]]; then
prnt E "No IPv6 have been assigned to static interface $iface!"
fi
prnt I "Interface $iface will have $(eval echo \$NET6_IP_$iface) static IPv6 address."
prnt I " * Interface $iface will have $(eval echo \$NET6_IP_$iface) static IPv6 address."
;;
"dhcp")
prnt I "Interface $iface will use DHCPv6."
prnt I " * Interface $iface will use DHCPv6."
;;
"manual")
file_exists $(eval echo \$NET6_MANUAL_FILE_$iface)