Updates for standalone mode install
This commit is contained in:
@@ -310,7 +310,7 @@ function set_kiosk_url() {
|
|||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
done
|
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() {
|
function set_kiosk_type() {
|
||||||
@@ -499,7 +499,6 @@ case "$kconfig" in
|
|||||||
echo "Copying files..."
|
echo "Copying files..."
|
||||||
cp -f distfiles/usr/local/bin/* /usr/local/bin
|
cp -f distfiles/usr/local/bin/* /usr/local/bin
|
||||||
cp -Rf distfiles/etc/* /etc/
|
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
|
rm /lib/systemd/system/ctrl-alt-del.target
|
||||||
ln -s /dev/null /lib/systemd/system/ctrl-alt-del.target
|
ln -s /dev/null /lib/systemd/system/ctrl-alt-del.target
|
||||||
echo "...done."
|
echo "...done."
|
||||||
@@ -510,6 +509,7 @@ case "$kconfig" in
|
|||||||
install_package "openbox"
|
install_package "openbox"
|
||||||
install_package "xterm"
|
install_package "xterm"
|
||||||
echo "Enabling autologin for standalone kiosk mode."
|
echo "Enabling autologin for standalone kiosk mode."
|
||||||
|
systemctl daemon-reload
|
||||||
systemctl enable getty@tty1.service >/dev/null 2>&1
|
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
|
# If we are on a Raspberry Pi 5, we'll need to install this for the
|
||||||
# xorg server to start
|
# xorg server to start
|
||||||
|
|||||||
Reference in New Issue
Block a user