summaryrefslogtreecommitdiffstats
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
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.
-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