Corrected annoyance with diagnostics script.
This commit is contained in:
parent
ee4d84e59f
commit
413027e881
|
@ -1,6 +1,13 @@
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
source lib/InterfaceUtils.sh
|
if [ -d "lib" ]
|
||||||
|
then source lib/InterfaceUtils.sh
|
||||||
|
elif [ -d "../lib" ]
|
||||||
|
then source ../lib/InterfaceUtils.sh
|
||||||
|
else
|
||||||
|
echo "YOU MUST EXECUTE THIS SCRIPT FROM FLUXION'S ROOT!"; exit 1
|
||||||
|
fi
|
||||||
|
|
||||||
|
|
||||||
if [ ! "$1" ]
|
if [ ! "$1" ]
|
||||||
then echo "Usage ./scripts/diagnostics <wireless_interface>"; exit 1
|
then echo "Usage ./scripts/diagnostics <wireless_interface>"; exit 1
|
||||||
|
|
Loading…
Reference in New Issue