1
0
Fork 0
mirror of https://github.com/albfan/miraclecast.git synced 2025-02-12 18:12:01 +00:00

Debug hardware tester

This commit is contained in:
albfan 2016-01-24 20:56:06 +01:00
parent 810768c54c
commit 9e95e79d1a

View file

@ -1,5 +1,17 @@
#!/bin/bash
eval SCRIPT_DEBUG="\$$(basename $0 .sh | tr - _)_DEBUG"
SCRIPT_DEBUG=${SCRIPT_DEBUG:--1}
if [ "$SCRIPT_DEBUG" -ge 1 ]
then
set -x
fi
if [ "$SCRIPT_DEBUG" -ge 10 ]
then
set -v
fi
. miracle-utils.sh
WIFI_NAMES=$(find_wireless_network_interfaces)