Browse Source

Location check on nmcli

fixes #2
master
Brandon Nolet 1 year ago
parent
commit
7fcf7dcd09
1 changed files with 2 additions and 2 deletions
  1. 2
    2
      nmcli-basic.sh

+ 2
- 2
nmcli-basic.sh View File

@@ -17,7 +17,7 @@
# The script will also take automatic, auto, and dhcp
# as valid dynamic address inputs.

NMCLI_BIN=$(which nmcli)

function setstatic() {

@@ -59,7 +59,7 @@ function apply() {
}

function conshow() {
nmcli con show
${NMCLI_BIN} con show
echo
read -p "Which interface to configure? " IntID
echo

Loading…
Cancel
Save