Files
linuxkit/pkg/init-container/etc/init.d/000-issue
Justin Cormack 0e65f04ab4 update init for containers for recent changes
Signed-off-by: Justin Cormack <justin.cormack@docker.com>
2017-08-10 14:57:53 +01:00

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