Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions files/image_config/platform/rc.local
Original file line number Diff line number Diff line change
Expand Up @@ -198,9 +198,9 @@ program_console_speed()
# Subsequent boots may have new baud rate without finding keep-baud argument
grep agetty /lib/systemd/system/[email protected] |grep keep-baud
if [ $? = 0 ]; then
sed -i "s|\-\-keep\-baud .* %I| $CONSOLE_SPEED %I|g" /lib/systemd/system/[email protected]
sed -i "s|\-\-keep\-baud .* -| $CONSOLE_SPEED -|g" /lib/systemd/system/[email protected]
else
sed -i "s|u' .* %I|u' $CONSOLE_SPEED %I|g" /lib/systemd/system/[email protected]
sed -i "s|u' .* -|u' $CONSOLE_SPEED -|g" /lib/systemd/system/[email protected]
fi

# Reload systemd config
Expand Down
Loading