dontzap - a application to revert dontzap setting
Christopher Aillon
caillon at redhat.com
Tue Mar 31 20:02:13 UTC 2009
On 03/31/2009 11:55 AM, Adam Miller wrote:
> Yeah, I'll sure to file that in my "this_is_worthless" mercurial branch.
>
> This change will simply require a very small edit to a kickstart file,
> as I've attempted to explain to those in the C-A-Bsp thread.
FWIW, this will prolly get it done:
%post
grep -q -s DontZap /etc/X11/xorg.conf
append=$?
if [ $append -ne 0 ]; then
cat >> /etc/X11/xorg.conf << EOF
Section "ServerFlags"
Option "DontZap" "false"
EndSection
EOF
fi
%end
Can we all go home now?
More information about the fedora-devel-list
mailing list