summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorOlivier Blin <oblin@mandriva.com>2008-09-25 18:50:47 +0000
committerOlivier Blin <oblin@mandriva.com>2008-09-25 18:50:47 +0000
commit8f726ab8dc3523bcc6bb2b9368b468189c7f6593 (patch)
tree43e3727328acd7942488e2fa6801ffdb21770c93
parent38932e7d17c4750ecbabb06e57dd5733a6b1decc (diff)
downloaddrakx-8f726ab8dc3523bcc6bb2b9368b468189c7f6593.tar
drakx-8f726ab8dc3523bcc6bb2b9368b468189c7f6593.tar.gz
drakx-8f726ab8dc3523bcc6bb2b9368b468189c7f6593.tar.bz2
drakx-8f726ab8dc3523bcc6bb2b9368b468189c7f6593.tar.xz
drakx-8f726ab8dc3523bcc6bb2b9368b468189c7f6593.zip
do not allow monitor to blank/powersave (from Miura?)
-rwxr-xr-xrescue/restore-image.sh4
1 files changed, 4 insertions, 0 deletions
diff --git a/rescue/restore-image.sh b/rescue/restore-image.sh
index 8921e2e2d..cc1ab6cab 100755
--- a/rescue/restore-image.sh
+++ b/rescue/restore-image.sh
@@ -1,4 +1,8 @@
#!/bin/bash
+
+setterm -powersave off
+setterm -blank 0
+
if [ -r ./restore-image-lib.sh ]; then
. ./restore-image-lib.sh
elif [ -r /usr/lib/restore-image-lib.sh ]; then