install jq
Signed-off-by: Aaron Murray <plugins@omv-extras.org>
This commit is contained in:
parent
643c115a9a
commit
9baa515529
@ -6,7 +6,7 @@ export LANG=C.UTF-8
|
|||||||
export LANGUAGE=C
|
export LANGUAGE=C
|
||||||
export LC_ALL=C.UTF-8
|
export LC_ALL=C.UTF-8
|
||||||
|
|
||||||
apt-get --yes --no-install-recommends jq
|
apt-get --yes --no-install-recommends install jq
|
||||||
|
|
||||||
mac="$(ip -j a show dev eth0 | jq -r .[].address | head -n1)"
|
mac="$(ip -j a show dev eth0 | jq -r .[].address | head -n1)"
|
||||||
if [ -z "${mac}" ]; then
|
if [ -z "${mac}" ]; then
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user