A bit cleaner this way.

This commit is contained in:
fewtarius 2022-09-24 10:57:57 -04:00
parent a98eed4a9a
commit 90a9026a77
No known key found for this signature in database
GPG key ID: F4AE55305D1B8C1A
2 changed files with 5 additions and 1 deletions

View file

@ -3,4 +3,8 @@
# SPDX-License-Identifier: GPL-2.0-or-later
# 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

View file

@ -6,6 +6,6 @@
if [ "${UI_SERVICE}" = "weston.service" ]
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
/storage/roms/ports/PortMaster.sh