File tree Expand file tree Collapse file tree 3 files changed +5
-5
lines changed
Expand file tree Collapse file tree 3 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -170,10 +170,10 @@ if [ "$ADMIN_TOOLKIT_SCREEN_ROTATION" != "normal" ]
170170then
171171 # Handle rotation if the gui module closes after this module
172172 echo " Adding screen rotation..."
173- if grep -q " GUI_SESSION_PLACEHOLDEFR " /home/pi/scripts/start_gui ; then
174- sed -i /home/pi/scripts/start_gui -e " s/^GUI_SESSION_PLACEHOLDEFR /export DISPLAY=:0/"
173+ if grep -q " GUI_SESSION_PLACEHOLDER " /home/pi/scripts/start_gui ; then
174+ sed -i /home/pi/scripts/start_gui -e " s/^GUI_SESSION_PLACEHOLDER /export DISPLAY=:0/"
175175 echo " /home/pi/scripts/rotate.sh $ADMIN_TOOLKIT_SCREEN_ROTATION " >> /home/pi/scripts/start_gui
176- echo ' GUI_SESSION_PLACEHOLDEFR ' >> /home/pi/scripts/start_gui
176+ echo ' GUI_SESSION_PLACEHOLDER ' >> /home/pi/scripts/start_gui
177177 elif grep -q " /home/pi/scripts/run_onepageos" /home/pi/scripts/start_gui ; then
178178 sed -i /home/pi/scripts/start_gui -e " s/^\/home\/pi\/scripts\/run_onepageos/export DISPLAY=:0/"
179179 echo " /home/pi/scripts/rotate.sh $ADMIN_TOOLKIT_SCREEN_ROTATION " >> /home/pi/scripts/start_gui
Original file line number Diff line number Diff line change @@ -21,7 +21,7 @@ if [ "${BASE_DISTRO}" == "raspbian" ] || [ "${BASE_DISTRO}" == "raspios64" ] ||
2121fi
2222
2323# set the gui to run the main script of the GUI session
24- sed -i " s@GUI_SESSION_PLACEHOLDEFR @${GUI_STARTUP_SCRIPT} @g" /opt/custompios/scripts/start_gui
24+ sed -i " s@GUI_SESSION_PLACEHOLDER @${GUI_STARTUP_SCRIPT} @g" /opt/custompios/scripts/start_gui
2525
2626# Set the boot target to use a gui
2727systemctl set-default graphical.target
Original file line number Diff line number Diff line change 2020
2121matchbox-window-manager &
2222
23- GUI_SESSION_PLACEHOLDEFR
23+ GUI_SESSION_PLACEHOLDER
You can’t perform that action at this time.
0 commit comments