summaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
Diffstat (limited to 'tools')
-rw-r--r--tools/display_driver_helper8
1 files changed, 5 insertions, 3 deletions
diff --git a/tools/display_driver_helper b/tools/display_driver_helper
index b4aa290..fb438f1 100644
--- a/tools/display_driver_helper
+++ b/tools/display_driver_helper
@@ -17,9 +17,11 @@
# - check_dkms_status function
#
-echo "$(date) $*" >> /dev/tmp7
-exec 2>>/dev/tmp7
-set -x
+if [ -n "$DEBUG_DISPLAY_DRIVER_HELPER" ]; then
+ echo "$(date) $*" >> /dev/ddh_debug
+ exec 2>>/dev/ddh_debug
+ set -x
+fi
export LC_ALL=C