diff options
author | Olivier Blin <mageia@blino.org> | 2011-05-28 13:52:38 +0200 |
---|---|---|
committer | Colin Guthrie <colin@mageia.org> | 2011-10-22 14:13:13 +0100 |
commit | 81402d9bd7ebd62de0fb2cfeb35512859c015d5e (patch) | |
tree | 852c3aafc95653f67a336d101708f45b735f0f36 /rc.d/rc | |
parent | dfb9169154eaf272006ea5ad02c66b0241ae48a9 (diff) | |
download | initscripts-81402d9bd7ebd62de0fb2cfeb35512859c015d5e.tar initscripts-81402d9bd7ebd62de0fb2cfeb35512859c015d5e.tar.gz initscripts-81402d9bd7ebd62de0fb2cfeb35512859c015d5e.tar.bz2 initscripts-81402d9bd7ebd62de0fb2cfeb35512859c015d5e.tar.xz initscripts-81402d9bd7ebd62de0fb2cfeb35512859c015d5e.zip |
run chvt with --userwait option at shutdown to avoid hanging waiting for chvt 1, since dm stop might have triggered a vt change as well details from vuntz on https://bugzilla.novell.com/show_bug.cgi?id=540482#c115 (happens on my laptop with Mobility Radeon 9600 M10, plymouth disabled)
Diffstat (limited to 'rc.d/rc')
-rwxr-xr-x | rc.d/rc | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -61,7 +61,7 @@ if [ "$previous" = "N" ]; then fi elif [[ "$newrunlevel" = "0" || "$newrunlevel" = "6" ]]; then [ -x /etc/rc.d/init.d/dm -a -f /var/lock/subsys/dm ] && /etc/init.d/dm stop 2> /dev/null - chvt 1 + chvt --userwait 1 exec &> /dev/console fi |