A bit cleaner this way.
This commit is contained in:
parent
a98eed4a9a
commit
90a9026a77
2 changed files with 5 additions and 1 deletions
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue