summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--NEWS2
-rw-r--r--tools/display_driver_helper8
2 files changed, 7 insertions, 3 deletions
diff --git a/NEWS b/NEWS
index 93355a6..830713a 100644
--- a/NEWS
+++ b/NEWS
@@ -1,3 +1,5 @@
+- disable debug output of display_driver_helper by default
+
Version 0.93 - 17 April 2011
- add display_driver_helper script (used by XFdrake, udev, drakx, dkms)
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