Updates for standalone mode install

This commit is contained in:
2026-03-05 14:07:14 -05:00
parent 46b07de843
commit 6dd4066908

View File

@@ -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