mirror of
https://github.com/karl0ss/AnotterKiosk.git
synced 2025-07-27 19:00:15 +01:00
final fix?
This commit is contained in:
parent
52423fcc9a
commit
b4acb6e7b4
@ -1,22 +1,11 @@
|
||||
# Raspberry Pi OS "Bookworm" First-Boot Configuration
|
||||
# Edit the values below with your details before the first boot.
|
||||
# This file is ONLY used to get the device onto the network.
|
||||
# All other kiosk configuration is handled by kioskbrowser.ini.
|
||||
|
||||
config_version = 1
|
||||
|
||||
[system]
|
||||
# Set the hostname for the device on the network.
|
||||
hostname = "kioskpi"
|
||||
|
||||
[wlan]
|
||||
# --- Wi-Fi Configuration ---
|
||||
# Replace with your Wi-Fi network name (SSID) and password.
|
||||
ssid = "YOUR_WIFI_SSID"
|
||||
password = "YOUR_WIFI_PASSWORD"
|
||||
password_encrypted = false
|
||||
hidden = false
|
||||
# Set your 2-letter ISO 3166-1 country code (e.g., US, GB, DE).
|
||||
country = "GB"
|
||||
|
||||
[locale]
|
||||
keymap = "us"
|
||||
timezone = "Etc/UTC"
|
||||
country = "US"
|
@ -54,11 +54,11 @@ echo "tmpfs /home/pi/.ssh/ tmpfs mode=0700,nosuid,nodev,uid=1000,gid=1000 0
|
||||
echo "tmpfs /root/.ssh/ tmpfs mode=0700,nosuid,nodev,uid=0,gid=0 0 0" >> /etc/fstab
|
||||
|
||||
# Create symlinks for configuration files which will later get created at runtime (in /tmp)
|
||||
rm /etc/hosts
|
||||
rm /etc/hostname
|
||||
mkdir -p /etc/wpa_supplicant/
|
||||
ln -sf /tmp/hosts /etc/hosts
|
||||
touch "${BUILD_DIR}/etc/hostname"
|
||||
touch "${BUILD_DIR}/etc/hosts"
|
||||
ln -sf /tmp/hostname /etc/hostname
|
||||
ln -sf /tmp/hosts /etc/hosts
|
||||
ln -sf /tmp/wpa_supplicant.conf /etc/wpa_supplicant/wpa_supplicant.conf
|
||||
|
||||
systemctl daemon-reload
|
||||
@ -72,9 +72,9 @@ systemctl disable bluetooth || true
|
||||
systemctl enable kiosk-ssh-keys
|
||||
systemctl enable NetworkManager
|
||||
systemctl enable NetworkManager
|
||||
systemctl enable kiosk-set-hostname
|
||||
systemctl enable kiosk-autossh
|
||||
systemctl enable kiosk-watchdog
|
||||
systemctl enable kiosk-set-hostname
|
||||
systemctl enable ntpdate
|
||||
systemctl enable lightdm
|
||||
systemctl enable nginx
|
||||
|
Loading…
x
Reference in New Issue
Block a user