diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2014-05-29 12:19:06 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2014-05-29 12:19:06 +0000 |
commit | 1a9a0430790d7829d9ee53e0fbc17dbe6c7a6b69 (patch) | |
tree | e7b155bdba1fbd6cc32c6b2613b439fa4aa44049 /main/syslinux/update-extlinux | |
parent | 6ef416d04da9be0960a3de87bcb2613d9046e689 (diff) | |
download | aports-1a9a0430790d7829d9ee53e0fbc17dbe6c7a6b69.tar.bz2 aports-1a9a0430790d7829d9ee53e0fbc17dbe6c7a6b69.tar.xz |
main/syslinux: add support for serial console in update-extlinux
fixes #2761
Diffstat (limited to 'main/syslinux/update-extlinux')
-rwxr-xr-x | main/syslinux/update-extlinux | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/main/syslinux/update-extlinux b/main/syslinux/update-extlinux index 26eb4c70b7..b3c387baee 100755 --- a/main/syslinux/update-extlinux +++ b/main/syslinux/update-extlinux @@ -73,6 +73,9 @@ fi umask 0022 rm -f $conf.new echo "# Generated by update-extlinux $version" > $conf.new +if [ -n "$serial_port" ]; then + echo "SERIAL $serial_port ${serial_baud:-115200}" >> $conf.new +fi echo "DEFAULT $syslinux_menu" >> $conf.new echo "PROMPT 0" >> $conf.new echo "MENU TITLE Alpine/$(uname -s) Boot Menu" >> $conf.new |