Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F109864034
D47586.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
698 B
Referenced Files
None
Subscribers
None
D47586.diff
View Options
diff --git a/tools/tools/nanobsd/defaults.sh b/tools/tools/nanobsd/defaults.sh
--- a/tools/tools/nanobsd/defaults.sh
+++ b/tools/tools/nanobsd/defaults.sh
@@ -742,10 +742,10 @@
cust_comconsole ( ) (
# Enable getty on console
- sed -i "" -e /tty[du]0/s/off/on/ ${NANO_WORLDDIR}/etc/ttys
+ sed -i "" -e '/^tty[du]0/s/off/onifconsole/' ${NANO_WORLDDIR}/etc/ttys
- # Disable getty on syscons devices
- sed -i "" -e '/^ttyv[0-8]/s/ on/ off/' ${NANO_WORLDDIR}/etc/ttys
+ # Disable getty on syscons or vt devices
+ sed -i "" -E '/^ttyv[0-8]/s/\ton(ifexists)?/\toff/' ${NANO_WORLDDIR}/etc/ttys
# Tell loader to use serial console early.
echo "${NANO_BOOT2CFG}" > ${NANO_WORLDDIR}/boot.config
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Tue, Feb 11, 12:13 PM (12 h, 9 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
14672476
Default Alt Text
D47586.diff (698 B)
Attached To
Mode
D47586: nanobsd: Fix cust_comconsole search patterns
Attached
Detach File
Event Timeline
Log In to Comment