diff options
author | Eugene Rush <rush.zlo@gmail.com> | 2013-02-28 11:51:06 +0000 |
---|---|---|
committer | Eugene Rush <rush.zlo@gmail.com> | 2013-02-28 11:51:06 +0000 |
commit | 3c0e00ff31dabeb3c16e67596e6d8aa60aa92b7d (patch) | |
tree | 70deb2b50fd7ca3493164e892494fbfc03b260de /initramfs-init.in | |
parent | d99ce467d1e7de90e8ec2766e16f39736064510b (diff) | |
download | mkinitfs-rush.tar.bz2 mkinitfs-rush.tar.xz |
skip "current console" from beign added to inittabrush
Diffstat (limited to 'initramfs-init.in')
-rwxr-xr-x | initramfs-init.in | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/initramfs-init.in b/initramfs-init.in index a481669..ea12787 100755 --- a/initramfs-init.in +++ b/initramfs-init.in @@ -191,6 +191,9 @@ setup_inittab_console(){ esac shift + # skip "current console" from beign added to inittab + [ "$tty" = "tty0" ] && continue + # do nothing if inittab already have the tty set up grep -q "^$tty:" $sysroot/etc/inittab && continue echo "# enable login on alternative console" >> $sysroot/etc/inittab |