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:
parent
810768c54c
commit
9e95e79d1a
1 changed files with 12 additions and 0 deletions
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue