Группа :: Система/Ядро и оборудование
Пакет: hibernate
Главная Изменения Спек Патчи Загрузить Bugs and FR
Патч: hibernate-alt-kernel-fix.patch
--- hibernate.sh.old 2004-11-07 15:46:38 +0200
+++ hibernate.sh 2004-11-09 11:00:57 +0200
@@ -27,7 +27,8 @@
SWSUSP_D="/etc/hibernate"
SCRIPTLET_PATH="$SWSUSP_D/scriptlets.d /usr/local/share/hibernate/scriptlets.d /usr/share/hibernate/scriptlets.d"
-CONFIG_FILE="$SWSUSP_D/hibernate.conf"
+KERNEL=`uname -r | cut -b 1-3`
+CONFIG_FILE="$SWSUSP_D/hibernate$KERNEL.conf"
EXE=`basename $0`
VERSION="1.00"
@@ -623,6 +623,8 @@
[ $VERBOSITY -ge 4 ] && set -x
echo "Starting suspend at "`date` | $LOGPIPE > /dev/null
+echo "Kernel "`uname -r` | $LOGPIPE > /dev/null
+echo "Config file $CONFIG_FILE" | $LOGPIPE > /dev/null
if [ "$LOGPIPE" = "cat" ] ; then
DoWork