2
0
mirror of https://github.com/xcat2/confluent.git synced 2024-11-22 09:32:21 +00:00

Actually print message to serial

When console detected, actually notify
the relevant console.
This commit is contained in:
Jarrod Johnson 2020-04-15 18:25:16 -04:00
parent 23e8642950
commit 211b8ab7e8

View File

@ -5,7 +5,8 @@ if ! grep console= /proc/cmdline >& /dev/null; then
autocons=$(/opt/confluent/bin/autocons)
if [ -n "$autocons" ]; then
echo console=$autocons |sed -e 's!/dev/!!' >> /etc/cmdline.d/01-autocons.conf
echo "Initializing auto detected console when installer starts"
autocons=${autocons%,*}
echo "Initializing auto detected console when installer starts" > $autocons
fi
fi
. /lib/anaconda-lib.sh