Remove all tty init from init

Signed-off-by: Avi Deitcher <avi@deitcher.net>
This commit is contained in:
Avi Deitcher
2017-06-07 11:31:50 +03:00
parent d0620eebf9
commit a7c577468d
2 changed files with 12 additions and 36 deletions

View File

@@ -0,0 +1,12 @@
#!/bin/sh
if [ -f /etc/issue ]; then
for opt in $(cat /proc/cmdline); do
case "$opt" in
console=*)
fulltty=${opt#console=}
tty=${fulltty%,*}
cat /etc/issue >> /dev/$tty
esac
done
fi