config: -h option when primary is console
This is regardless of using secondary console even though -h and -D are not always compatible. PR: https://github.com/opnsense/core/issues/4231
This commit is contained in:
parent
6e89e3a718
commit
f0c051d4ad
|
@ -39,7 +39,7 @@ EOF
|
|||
sed -i '' -e "/<rrd>/,/<\/rrd>/d" ${1}${CONFIG_XML}
|
||||
sed -i '' -e "/<disable_clog>/d" ${1}${CONFIG_XML}
|
||||
|
||||
echo "-S${PRODUCT_COMSPEED} -D" > ${1}/boot.config
|
||||
echo "-S${PRODUCT_COMSPEED} -h -D" > ${1}/boot.config
|
||||
|
||||
cat >> ${1}/boot/loader.conf << EOF
|
||||
hw.uart.console="io:${PRODUCT_COMPORT},br:${PRODUCT_COMSPEED}"
|
||||
|
@ -63,7 +63,7 @@ EOF
|
|||
sed -i '' -e "/<system>/r ${1}/tmp/serial.xml" ${1}${CONFIG_XML}
|
||||
rm ${1}/tmp/serial.xml
|
||||
|
||||
echo "-S${PRODUCT_COMSPEED} -D" > ${1}/boot.config
|
||||
echo "-S${PRODUCT_COMSPEED} -h" > ${1}/boot.config
|
||||
|
||||
cat >> ${1}/boot/loader.conf << EOF
|
||||
hw.uart.console="io:${PRODUCT_COMPORT},br:${PRODUCT_COMSPEED}"
|
||||
|
|
Loading…
Reference in New Issue