From b14bda8c2ae4331363bfe58a2775a5afa4df4549 Mon Sep 17 00:00:00 2001 From: fatalerrors Date: Fri, 7 Jan 2022 18:15:38 +0100 Subject: [PATCH] conf_network.sh: small cosmetic improvements, version bump --- modules/conf_network.sh | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/modules/conf_network.sh b/modules/conf_network.sh index 5ee62c2..ac8d458 100644 --- a/modules/conf_network.sh +++ b/modules/conf_network.sh @@ -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!"