Track /etc/ttys change to uart(4)
This commit is contained in:
parent
1b146a73ee
commit
fc0708f69f
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=181459
@ -493,7 +493,7 @@ FlashDevice () {
|
|||||||
|
|
||||||
cust_comconsole () (
|
cust_comconsole () (
|
||||||
# Enable getty on console
|
# Enable getty on console
|
||||||
sed -i "" -e /ttyd0/s/off/on/ ${NANO_WORLDDIR}/etc/ttys
|
sed -i "" -e /ttyu0/s/off/on/ ${NANO_WORLDDIR}/etc/ttys
|
||||||
|
|
||||||
# Disable getty on syscons devices
|
# Disable getty on syscons devices
|
||||||
sed -i "" -e '/^ttyv[0-8]/s/ on/ off/' ${NANO_WORLDDIR}/etc/ttys
|
sed -i "" -e '/^ttyv[0-8]/s/ on/ off/' ${NANO_WORLDDIR}/etc/ttys
|
||||||
|
Loading…
Reference in New Issue
Block a user