Magellan Linux

Annotation of /trunk/initscripts-alx/patches/initscripts-0.3.4-r10-alx-hwdetect-fix-broken-monitor0-issue.patch

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1226 - (hide annotations) (download)
Thu Dec 9 11:51:40 2010 UTC (13 years, 5 months ago) by niro
File size: 1037 byte(s)
-fixes broken Monitor0 issues
1 niro 1226 diff -Naur magellan-initscripts-alx/etc/rc.d/init.d/hwdetect magellan-initscripts-alx-fixed/etc/rc.d/init.d/hwdetect
2     --- magellan-initscripts-alx/etc/rc.d/init.d/hwdetect 2010-12-08 13:29:06.000000000 +0100
3     +++ magellan-initscripts-alx-fixed/etc/rc.d/init.d/hwdetect 2010-12-09 13:01:10.000000000 +0100
4     @@ -252,7 +252,7 @@
5     then
6     local modeline="$(/usr/X11R6/bin/cvt 1024 767 60 | sed -e 's:^:\t:g' -e 's:_.*\":\":')"
7     echo 'Section "Monitor"' >> ${xfconfig}
8     - echo ' Identifier "mon0"' >> ${xfconfig}
9     + echo ' Identifier "Monitor0"' >> ${xfconfig}
10     echo ' Option "DPMS"' >> ${xfconfig}
11     echo "${modeline}" >> ${xfconfig}
12     echo 'EndSection' >> ${xfconfig}
13     @@ -260,7 +260,7 @@
14     else
15     # some conservative default values
16     echo 'Section "Monitor"' >> ${xfconfig}
17     - echo ' Identifier "mon0"' >> ${xfconfig}
18     + echo ' Identifier "Monitor0"' >> ${xfconfig}
19     echo ' HorizSync 28 - 96' >> ${xfconfig}
20     echo ' VertRefresh 50-60' >> ${xfconfig}
21     echo ' Option "DPMS"' >> ${xfconfig}