From 6dd406690876a749a0ffbbfad293311fb8fb17f0 Mon Sep 17 00:00:00 2001 From: Rod Wright Date: Thu, 5 Mar 2026 14:07:14 -0500 Subject: [PATCH] Updates for standalone mode install --- kiosk-setup.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/kiosk-setup.sh b/kiosk-setup.sh index 8348e45..797333d 100755 --- a/kiosk-setup.sh +++ b/kiosk-setup.sh @@ -310,7 +310,7 @@ function set_kiosk_url() { fi fi done - sed -i 's,'TGT_URL=.*','TGT_URL="\"$server_url\""',' /etc/openkiosk/openkiosk.conf + sed -i 's,'^TGT_URL=.*','TGT_URL="\"$server_url\""',' /etc/openkiosk/openkiosk.conf } function set_kiosk_type() { @@ -499,7 +499,6 @@ case "$kconfig" in echo "Copying files..." cp -f distfiles/usr/local/bin/* /usr/local/bin cp -Rf distfiles/etc/* /etc/ - cp -f distfiles/lib/systemd/system/getty@tty1.service /lib/systemd/system rm /lib/systemd/system/ctrl-alt-del.target ln -s /dev/null /lib/systemd/system/ctrl-alt-del.target echo "...done." @@ -510,6 +509,7 @@ case "$kconfig" in install_package "openbox" install_package "xterm" echo "Enabling autologin for standalone kiosk mode." + systemctl daemon-reload systemctl enable getty@tty1.service >/dev/null 2>&1 # If we are on a Raspberry Pi 5, we'll need to install this for the # xorg server to start