Skip to content

Commit

Permalink
bb.org: fix ttyGS0 gadget serial
Browse files Browse the repository at this point in the history
Signed-off-by: Robert Nelson <robertcnelson@gmail.com>
  • Loading branch information
RobertCNelson committed Mar 31, 2014
1 parent 36e8f62 commit 15f9443
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions target/chroot/beagleboard.org.sh
Expand Up @@ -69,8 +69,9 @@ setup_system () {
patch -p1 < /opt/scripts/mods/debian-add-sbin-usr-sbin-to-default-path.diff
fi

if [ -f /lib/systemd/system/getty@.service ] ; then
ln -s /lib/systemd/system/getty@.service /etc/systemd/system/getty.target.wants/getty@ttyGS0.service
if [ -f /lib/systemd/system/serial-getty@.service ] ; then
cp /lib/systemd/system/serial-getty@.service /etc/systemd/system/serial-getty@ttyGS0.service
ln -s /etc/systemd/system/serial-getty@ttyGS0.service /etc/systemd/system/getty.target.wants/serial-getty@ttyGS0.service

echo "" >> /etc/securetty
echo "#USB Gadget Serial Port" >> /etc/securetty
Expand Down

0 comments on commit 15f9443

Please sign in to comment.