Skip to content

Commit

Permalink
do not redirect term on serial console
Browse files Browse the repository at this point in the history
  • Loading branch information
goneri committed Dec 1, 2021
1 parent 7368ea6 commit f1b349a
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ echo "calculated new partition size: ${size}"
# loop.
echo -n "removing boot.conf: "
mount /dev/"$disk$dpart" /mnt
echo "set tty com0" > /mnt/etc/boot.conf
echo "" > /mnt/etc/boot.conf
umount /mnt
echo "done."

Expand Down
2 changes: 1 addition & 1 deletion plugins/os/openbsd/tasks/21-growfs.sh
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,6 @@

ksh "$(plugin_file os/openbsd upobsd.sh)" -P "$(plugin_file os/openbsd usr/src/distrib/amd64/ramdisk_growfs/dot.profile)" -o "$TARGET"/bsd.gf
cat >"$TARGET"/etc/boot.conf <<EOF
set tty com0
#set tty com0
boot hd0a:/bsd.gf
EOF
4 changes: 2 additions & 2 deletions plugins/os/openbsd/tasks/50-serial-console.sh
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
echo stty com0 >> $TARGET/etc/boot.conf
sed -i 's,^\(tty00.*\)"/usr.*,\1"/usr/libexec/getty std.9600" xterm on secure,' $TARGET/etc/ttys
#echo stty com0 >> $TARGET/etc/boot.conf
#sed -i 's,^\(tty00.*\)"/usr.*,\1"/usr/libexec/getty std.9600" xterm on secure,' $TARGET/etc/ttys

0 comments on commit f1b349a

Please sign in to comment.