summaryrefslogtreecommitdiff
path: root/system/s6-linux-init/earlygetty.run
diff options
context:
space:
mode:
authorLaurent Bercot <ska-adelie@skarnet.org>2022-06-16 21:28:12 +0000
committerLaurent Bercot <ska-adelie@skarnet.org>2022-06-16 21:28:12 +0000
commit65355eb7145f09bbea6fb0ad93ae862a2f0385cd (patch)
treeb4c0eb13de6296bf2f6d2a6830e1f04153b98434 /system/s6-linux-init/earlygetty.run
parenta8f9604ed485c973a6ba5fef3918a09d03ffc6c2 (diff)
downloadpackages-65355eb7145f09bbea6fb0ad93ae862a2f0385cd.tar.gz
packages-65355eb7145f09bbea6fb0ad93ae862a2f0385cd.tar.bz2
packages-65355eb7145f09bbea6fb0ad93ae862a2f0385cd.tar.xz
packages-65355eb7145f09bbea6fb0ad93ae862a2f0385cd.zip
Skaware.20220616
Diffstat (limited to 'system/s6-linux-init/earlygetty.run')
-rw-r--r--system/s6-linux-init/earlygetty.run2
1 files changed, 1 insertions, 1 deletions
diff --git a/system/s6-linux-init/earlygetty.run b/system/s6-linux-init/earlygetty.run
index 5e60e7028..072fdd7d2 100644
--- a/system/s6-linux-init/earlygetty.run
+++ b/system/s6-linux-init/earlygetty.run
@@ -4,7 +4,7 @@ tty=tty2
baud=
options='-L'
-if line=`head -n 1 /run/kernel_env/earlygetty` ; then
+if line=`head -n 1 /run/kernel_env/earlygetty 2>/dev/null` ; then
tty="${line%%,*}"
bpnf="${line##*,}"
nf=