mirror of
https://github.com/linuxkit/linuxkit.git
synced 2026-01-17 02:01:01 +00:00
13 lines
200 B
Bash
Executable File
13 lines
200 B
Bash
Executable File
#!/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
|