Files
reterminal-dm4/emmc-provisioning/cloud-init/fileserver/README.md
nearxos 25bf710c67 Remove deprecated one-shot scripts and update first-boot configuration for improved provisioning</message>
<message>Delete obsolete one-shot scripts for setting screen rotation and wallpaper, as well as related Python and shell scripts. Update the first-boot configuration to streamline the provisioning process by removing references to these scripts. This cleanup enhances maintainability and focuses on the essential steps required for the first boot experience, ensuring a more efficient setup for users.
2026-02-23 16:15:47 +02:00

36 lines
1.6 KiB
Markdown

# fileserver/
All files in this directory are synced to the portal's file server and served
at `http://<portal>:5000/files/first-boot/`. The `first-boot.sh` script
downloads them during provisioning via the `FILE_SERVER` variable.
Sync to the LXC with:
```bash
../scripts/sync-portal-files-to-lxc.sh root@<lxc-ip>
```
## Layout
| Path | Purpose |
|------|---------|
| `steps/01-hostname.sh``steps/13-reboot.sh` | Step scripts sourced by `first-boot.sh` |
| `start-chromium.sh` | Chromium kiosk launcher |
| `five-tap-close-chromium.py` | 5-tap overlay to close Chromium |
| `chromium-kiosk.desktop` | Autostart for Chromium kiosk |
| `chromium-kiosk-launcher.desktop` | Desktop icon to restart Chromium |
| `five-tap-close-chromium.desktop` | Autostart for the 5-tap overlay |
| `set-rotation-at-login.sh` / `.desktop` | Per-login kanshi rotation from cmdline |
| `01-set-rotation-once.sh` / `.desktop` | One-shot: first-login rotation + dark theme |
| `02-set-wallpaper-once.sh` / `.desktop` | One-shot: wallpaper via swaybg |
| `fix-reterminal-display.sh` | Utility: re-apply DSI driver fix |
| `99-default-session.conf` | LightDM → rpd-labwc session |
| `99-wallpaper.conf` | LightDM greeter wallpaper |
| `maliit-keyboard.desktop` | Maliit on-screen keyboard autostart |
| `gtk.css` | GTK3 CSS override (dark menus/popovers) |
| `wf-panel-pi.ini` | Dark taskbar config |
| `panel-theme.css` | Dark taskbar CSS |
| `custom.plymouth` / `custom.script` | Plymouth boot splash theme |
| `splash.png` | Boot splash + wallpaper image (binary) |
| `start-here.png` | Taskbar start button icon (binary, optional) |