diff options
| author | Dirk von Suchodoletz | 2006-07-03 22:27:23 +0200 |
|---|---|---|
| committer | Dirk von Suchodoletz | 2006-07-03 22:27:23 +0200 |
| commit | 343d0f3d0efaf486ddc676130786d95fc06f682c (patch) | |
| tree | 4f036b493d07325cdfa748fa558916311438ca5c /initrd/initrd-stuff/bin/screenres | |
| parent | Just check in - do not use this version. (diff) | |
| download | core-343d0f3d0efaf486ddc676130786d95fc06f682c.tar.gz core-343d0f3d0efaf486ddc676130786d95fc06f682c.tar.xz core-343d0f3d0efaf486ddc676130786d95fc06f682c.zip | |
Enhanced debugging settings (see DebugLevel), some fixes for the use
with busybox, ...
git-svn-id: http://svn.openslx.org/svn/openslx/ld4@267 95ad53e4-c205-0410-b2fa-d234c58c8868
Diffstat (limited to 'initrd/initrd-stuff/bin/screenres')
| -rwxr-xr-x | initrd/initrd-stuff/bin/screenres | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/initrd/initrd-stuff/bin/screenres b/initrd/initrd-stuff/bin/screenres index 08f7f955..aa795174 100755 --- a/initrd/initrd-stuff/bin/screenres +++ b/initrd/initrd-stuff/bin/screenres @@ -26,9 +26,10 @@ # enable debugging in higher debug levels [ -z "$DEBUGLEVEL" ] && DEBUGLEVEL=0 [ $DEBUGLEVEL -gt 1 ] && DEBUG="yes" +# heavy debugging output in level 3 and above ... +[ $DEBUGLEVEL -gt 3 -a $DEBUGLEVEL -lt 10 -o $DEBUGLEVEL -eq 14 ] && set -x - -#Define some default output values if the script fails to find better values: +# Define some default output values if the script fails to find better values # Empty defaults, s.t. hwautocfg defines the defaults default_horiz_freq_range_khz="" #"31.5-63.5" default_vert_freq_range_hz="" #"60-90" |
