Author: alexander Date: 2006-07-14 10:10:18 -0600 (Fri, 14 Jul 2006) New Revision: 1651
Modified: trunk/packages/hibernate-script/hibernate-script-1.91-lfs-1.patch Log: Disabling write cache slows the hibernation process down unacceptably. Reverted. Avoided the useless invocation of the console script when hibernating in X. Modified: trunk/packages/hibernate-script/hibernate-script-1.91-lfs-1.patch =================================================================== --- trunk/packages/hibernate-script/hibernate-script-1.91-lfs-1.patch 2006-07-14 16:07:59 UTC (rev 1650) +++ trunk/packages/hibernate-script/hibernate-script-1.91-lfs-1.patch 2006-07-14 16:10:18 UTC (rev 1651) @@ -6,7 +6,7 @@ ### diskcache -# DisableWriteCacheOn /dev/hda -+DisableWriteCacheOn /dev/hd? /dev/sd? ++# DisableWriteCacheOn /dev/hd? /dev/sd? ### fbsplash (enable SwitchToTextMode if you use this) # FBSplash on @@ -16,8 +16,8 @@ +# Rerun dhcpcd in the background for all known network interfaces +OnResume 59 for netdev in /sys/class/net/*/uevent ; do echo add >netdev ; done -+# Restore console font -+OnResume 20 openvt -f -c 1 -w /etc/rc.d/init.d/console start ++# Restore console font if not in X ++OnResume 10 case `fgconsole 2>/dev/null` in [1-6]) openvt -f -c 1 -w /etc/rc.d/init.d/console start ;; esac + ### modules # UnloadModules snd_via82cxxx usb-ohci -- http://linuxfromscratch.org/mailman/listinfo/livecd FAQ: http://www.linuxfromscratch.org/faq/ Unsubscribe: See the above information page
