Skip to content

Commit ee78961

Browse files
committed
Fix typo in gui placeholder string
1 parent 528d29e commit ee78961

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

src/modules/admin-toolkit/start_chroot_script

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -170,10 +170,10 @@ if [ "$ADMIN_TOOLKIT_SCREEN_ROTATION" != "normal" ]
170170
then
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

src/modules/gui/end_chroot_script

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ if [ "${BASE_DISTRO}" == "raspbian" ] || [ "${BASE_DISTRO}" == "raspios64" ] ||
2121
fi
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
2727
systemctl set-default graphical.target

src/modules/gui/filesystem/opt/scripts/start_gui

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,4 +20,4 @@ fi
2020

2121
matchbox-window-manager &
2222

23-
GUI_SESSION_PLACEHOLDEFR
23+
GUI_SESSION_PLACEHOLDER

0 commit comments

Comments
 (0)