mirror of
https://github.com/xcat2/confluent.git
synced 2024-11-25 19:10:10 +00:00
9 lines
360 B
Plaintext
9 lines
360 B
Plaintext
if ! grep console= /proc/cmdline > /dev/null; then
|
|
/opt/confluent/bin/autocons > /custom-installation/autocons.info
|
|
cons=$(cat /custom-installation/autocons.info)
|
|
if [ ! -z "$cons" ]; then
|
|
echo "Auto-detected serial console on $cons, please wait" > ${cons%,*}
|
|
fi
|
|
fi
|
|
echo /scripts/init-premount/confluent >> /scripts/init-premount/ORDER
|