Browse Source

UX prettification

Certainly an ongoing struggle, fixed some newline spacing to make things a little more appealing to the eye
master
Brandon Nolet 1 year ago
parent
commit
021a00a1bd
1 changed files with 4 additions and 0 deletions
  1. 4
    0
      nin.sh

+ 4
- 0
nin.sh View File

@@ -39,6 +39,7 @@ case $1 in #case to enable returnability
setstatic 2
;;
2)
echo
read -p "Enter the desired IPv4 address: " IPAdd
echo
validip 2 3 ${IPAdd}
@@ -55,6 +56,7 @@ case $1 in #case to enable returnability
echo
;;
4)
echo
read -p "Enter the default router/gateway IP: " GatewayIP
echo
validip 4 5 ${GatewayIP}
@@ -85,6 +87,7 @@ esac
function setdynamic() {
conshow

echo
echo "Configuring..."
nmcli con mod "${IntID}" ipv4.method auto

@@ -104,6 +107,7 @@ function reloadint() {

function conshow() {

echo
${NMCLI_BIN} con show | tee --append ${LOGFILE}

echo

Loading…
Cancel
Save