summaryrefslogtreecommitdiffstats
path: root/tools/display_driver_helper
diff options
context:
space:
mode:
authorAnssi Hannula <anssi@mageia.org>2011-04-20 01:10:25 +0000
committerAnssi Hannula <anssi@mageia.org>2011-04-20 01:10:25 +0000
commit8939d3568ae2a629953eb80a0e432f41846d6f99 (patch)
tree0b9def8bf466dcbc85c5de8065391f579ec4b9d0 /tools/display_driver_helper
parent372ff8e7aa918e4a5153618a2d281528d3e94678 (diff)
downloaddrakx-kbd-mouse-x11-8939d3568ae2a629953eb80a0e432f41846d6f99.tar
drakx-kbd-mouse-x11-8939d3568ae2a629953eb80a0e432f41846d6f99.tar.gz
drakx-kbd-mouse-x11-8939d3568ae2a629953eb80a0e432f41846d6f99.tar.bz2
drakx-kbd-mouse-x11-8939d3568ae2a629953eb80a0e432f41846d6f99.tar.xz
drakx-kbd-mouse-x11-8939d3568ae2a629953eb80a0e432f41846d6f99.zip
Disable debug output of display_driver_helper by default.
Diffstat (limited to 'tools/display_driver_helper')
-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