Skip to content

Commit

Permalink
Every agetty needs its own session
Browse files Browse the repository at this point in the history
  • Loading branch information
MaxPayne86 committed Dec 16, 2024
1 parent ff021f6 commit 8612023
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions recipes-bsp/imx-uuc/imx-uuc/linuxrc
Original file line number Diff line number Diff line change
Expand Up @@ -185,10 +185,10 @@ function launch_acm() {
# start agetty on ttyGS0
hostname portenta-x8
echo "Arduino Initramfs lmp-v91 \n \l" > /etc/issue
/sbin/agetty -o "-p -- \\u" --noclear 115200 ttyGS0 $TERM &
setsid /sbin/agetty -o "-p -- \\u" --noclear 115200 ttyGS0 $TERM &

# start agetty on ttymxc2
/sbin/agetty -o "-p -- \\u" --noclear 115200 ttymxc2 $TERM &
setsid /sbin/agetty -o "-p -- \\u" --noclear 115200 ttymxc2 $TERM &
}

while true; do
Expand Down

0 comments on commit 8612023

Please sign in to comment.