fix: start not in correct directory
This commit is contained in:
@@ -1,10 +1,13 @@
|
|||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
|
|
||||||
export PROJECT_DIR=/opt/forge-invar
|
export PROJECT_DIR=/opt/forge-invar
|
||||||
|
export WESTON_MOD=hdmi
|
||||||
export SCREEN_HEIGHT=480
|
export SCREEN_HEIGHT=480
|
||||||
|
|
||||||
rm -rf $PROJECT_DIR/*.log
|
cd $PROJECT_DIR
|
||||||
touch $PROJECT_DIR/*
|
|
||||||
|
|
||||||
weston --shell=kiosk-shell.so --xwayland --config=$PROJECT_DIR/system/hdmi/weston.ini --log=$PROJECT_DIR/weston.log \
|
rm -rf *.log
|
||||||
-- make --silent --directory=$PROJECT_DIR start 2>&1 > /dev/null
|
touch *
|
||||||
|
|
||||||
|
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
|
||||||
|
|||||||
@@ -1,10 +1,13 @@
|
|||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
|
|
||||||
export PROJECT_DIR=/opt/forge-invar
|
export PROJECT_DIR=/opt/forge-invar
|
||||||
|
export WESTON_MOD=ntsc
|
||||||
export SCREEN_HEIGHT=480
|
export SCREEN_HEIGHT=480
|
||||||
|
|
||||||
rm -rf $PROJECT_DIR/*.log
|
cd $PROJECT_DIR
|
||||||
touch $PROJECT_DIR/*
|
|
||||||
|
|
||||||
weston --shell=kiosk-shell.so --xwayland --config=$PROJECT_DIR/system/nstc/weston.ini --log=$PROJECT_DIR/weston.log \
|
rm -rf *.log
|
||||||
-- make --silent --directory=$PROJECT_DIR start 2>&1 > /dev/null
|
touch *
|
||||||
|
|
||||||
|
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
|
||||||
|
|||||||
+7
-4
@@ -1,10 +1,13 @@
|
|||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
|
|
||||||
export PROJECT_DIR=/opt/forge-invar
|
export PROJECT_DIR=/opt/forge-invar
|
||||||
|
export WESTON_MOD=pal
|
||||||
export SCREEN_HEIGHT=576
|
export SCREEN_HEIGHT=576
|
||||||
|
|
||||||
rm -rf $PROJECT_DIR/*.log
|
cd $PROJECT_DIR
|
||||||
touch $PROJECT_DIR/*
|
|
||||||
|
|
||||||
weston --shell=kiosk-shell.so --xwayland --config=$PROJECT_DIR/system/pal/weston.ini --log=$PROJECT_DIR/weston.log \
|
rm -rf *.log
|
||||||
-- make --silent --directory=$PROJECT_DIR start 2>&1 > /dev/null
|
touch *
|
||||||
|
|
||||||
|
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
|
||||||
|
|||||||
Reference in New Issue
Block a user