Files
2026-11-06 00:44:38 +01:00

18 lines
367 B
Bash
Executable File

#!/bin/sh
export PROJECT_DIR=/opt/forge-invar
export WESTON_MOD=ntsc
export SCREEN_HEIGHT=480
cd $PROJECT_DIR
rm -rf *.log
touch *
sudo chmod a+rw /dev/uinput
weston --shell=kiosk-shell.so --xwayland --config=${PROJECT_DIR}/system/${WESTON_MOD}/weston.ini --log=${PROJECT_DIR}/weston.log \
-- make --silent start 2>&1 > /dev/null
sudo reboot 2>&1 /dev/null