conf_network.sh: small cosmetic improvements, version bump
This commit is contained in:
@@ -20,7 +20,7 @@
|
||||
# * NET{4,6}_MANUAL_FILE_$iface: filename for manual configuration of $iface
|
||||
# ------------------------------------------------------------------------------
|
||||
|
||||
export VER_conf_syslog="0.0.2"
|
||||
export VER_conf_syslog="0.0.3"
|
||||
|
||||
conf_network()
|
||||
{
|
||||
@@ -105,14 +105,14 @@ precheck_conf_network()
|
||||
if [[ -z $(eval echo \$NET4_IP_$iface) ]]; then
|
||||
prnt E "No IPv4 have been assigned to static interface $iface!"
|
||||
fi
|
||||
prnt I "Interface $iface will have $(eval echo \$NET4_IP_$iface) static IPv4 address."
|
||||
prnt I " * Interface $iface will have $(eval echo \$NET4_IP_$iface) static IPv4 address."
|
||||
;;
|
||||
"dhcp")
|
||||
prnt I "Interface $iface will use DHCP."
|
||||
prnt I " * Interface $iface will use DHCP."
|
||||
;;
|
||||
"manual")
|
||||
file_exists $(eval echo \$NET4_MANUAL_FILE_$iface)
|
||||
prnt I "Interface $iface will use manual IPv4 configuration in a file."
|
||||
prnt I " * Interface $iface will use manual IPv4 configuration in a file."
|
||||
;;
|
||||
*)
|
||||
prnt E "Interfaces mode \"$(eval echo \$NET4_MODE_$iface)\" unsuported!"
|
||||
@@ -141,7 +141,7 @@ precheck_conf_network()
|
||||
;;
|
||||
"manual")
|
||||
file_exists $(eval echo \$NET6_MANUAL_FILE_$iface)
|
||||
prnt I "Interface $iface will use manual IPv6 configuration in a file."
|
||||
prnt I " * Interface $iface will use manual IPv6 configuration in a file."
|
||||
;;
|
||||
*)
|
||||
prnt E "Interfaces mode \"$(eval echo \$NET6_MODE_$iface)\" unsuported!"
|
||||
|
||||
Reference in New Issue
Block a user