diff options
author | Harald Hoyer <harald@redhat.com> | 2011-05-03 14:47:45 +0200 |
---|---|---|
committer | Harald Hoyer <harald@redhat.com> | 2011-05-03 14:49:45 +0200 |
commit | 424ecce63281760f86d258f3a12d45ff418402cd (patch) | |
tree | a7cb1f36421b6885e904d3c574c7ea9fc7d78245 /modules.d/50plymouth | |
parent | 6019e1053c08ebb2da5dfdde787479bbfdc8fc54 (diff) | |
download | dracut-424ecce63281760f86d258f3a12d45ff418402cd.tar.gz dracut-424ecce63281760f86d258f3a12d45ff418402cd.tar.bz2 dracut-424ecce63281760f86d258f3a12d45ff418402cd.zip |
plymouth/gensplash: reset tty after plymouth messed with it
Diffstat (limited to 'modules.d/50plymouth')
-rwxr-xr-x | modules.d/50plymouth/plymouth-pretrigger.sh | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/modules.d/50plymouth/plymouth-pretrigger.sh b/modules.d/50plymouth/plymouth-pretrigger.sh index 222dc208..25ed06f9 100755 --- a/modules.d/50plymouth/plymouth-pretrigger.sh +++ b/modules.d/50plymouth/plymouth-pretrigger.sh @@ -18,7 +18,9 @@ if getargbool 1 rd.plymouth -n rd_NO_PLYMOUTH; then info "Starting plymouth daemon" mkdir -m 0755 /run/plymouth - [ -x /lib/udev/console_init ] && /lib/udev/console_init tty0 + [ -x /lib/udev/console_init ] && /lib/udev/console_init /dev/tty0 [ -x /bin/plymouthd ] && /bin/plymouthd --attach-to-session --pid-file /run/plymouth/pid /bin/plymouth --show-splash 2>&1 | vinfo + # reset tty after plymouth messed with it + [ -x /lib/udev/console_init ] && /lib/udev/console_init /dev/tty0 fi |