Merge pull request #550 from fewtarius/dev

A bit cleaner this way.
This commit is contained in:
fewtarius 2022-09-24 10:59:05 -04:00 committed by GitHub
commit 2a0290908e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 5 additions and 1 deletions

View file

@ -3,4 +3,8 @@
# SPDX-License-Identifier: GPL-2.0-or-later # SPDX-License-Identifier: GPL-2.0-or-later
# Copyright 2022-present BrooksyTech (https://github.com/brooksytech) # Copyright 2022-present BrooksyTech (https://github.com/brooksytech)
if [ "${UI_SERVICE}" = "weston.service" ]
then
sed -i -e "s#/dev/tty0#/dev/tty#" /storage/roms/PortMaster.sh
fi
/storage/roms/ports/JelosAddOns.sh /storage/roms/ports/JelosAddOns.sh

View file

@ -6,6 +6,6 @@
if [ "${UI_SERVICE}" = "weston.service" ] if [ "${UI_SERVICE}" = "weston.service" ]
then then
sed -i -e "s#[2]\>.*tty0##" -e "s#\>.*dev/tty0##g" /storage/roms/ports/PortMaster.sh sed -i -e "s#/dev/tty0#/dev/tty#" /storage/roms/PortMaster.sh
fi fi
/storage/roms/ports/PortMaster.sh /storage/roms/ports/PortMaster.sh