2016-08-31 02:20:00 +00:00
|
|
|
#!/bin/sh
|
|
|
|
set -e
|
|
|
|
|
|
|
|
trap true HUP INT QUIT TSTP
|
|
|
|
|
2016-09-13 03:44:30 +00:00
|
|
|
# agetty only sets ICRNL if it has read the username and seen whether
|
|
|
|
# it was terminated by CR or NL. We pass -n to agetty so that hasn't
|
|
|
|
# happened and need to force it on. Yay UNIX!
|
|
|
|
stty icrnl
|
|
|
|
|
2016-08-31 02:20:00 +00:00
|
|
|
cat /usr/share/subiquity/console-conf-wait
|
|
|
|
read REPLY
|
|
|
|
exec console-conf "$@"
|