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