Skip to content

Commit

Permalink
no tty defaults to ttyS0, use tty0
Browse files Browse the repository at this point in the history
  • Loading branch information
netbub committed Mar 14, 2019
1 parent b284a3d commit bdcc8d8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion unpack_repack_bin.sh
Original file line number Diff line number Diff line change
Expand Up @@ -441,7 +441,7 @@ enable_gdb()
log "Using recent ASA gdb patching method"
sed -i 's/#\(.*\)ttyUSB0\(.*\)/\1ttyS0\2/' asa/scripts/rcS
# Don't output anything on the tty, as this breaks some gdb versions
sed -i 's/ttyS0::once:\/tmp\/run_cmd/::once:\/tmp\/run_cmd/' etc/inittab
sed -i 's/ttyS0::once:\/tmp\/run_cmd/tty0::once:\/tmp\/run_cmd/' etc/inittab
fi
fi
}
Expand Down

0 comments on commit bdcc8d8

Please sign in to comment.