### Init directory

Source files used during installation.

Important: edit the installed files for runtime changes, not these.

### Structure

- `config/` — configuration templates
  - Installed: `/etc/rpi-power-hat/`
  - Edit at runtime: `/etc/rpi-power-hat/ports.conf`, `/etc/rpi-power-hat/network.conf`, `/etc/rpi-power-hat/hardware.conf`

- `firstrun/` — first‑boot script templates
  - Installed: `/usr/share/rpi-power-hat/templates/firstrun/`

- `images/` — Raspberry Pi OS images (git clone installs only)
  - Installed: `/var/lib/rpi-power-hat/images/`

### Development vs Production

Development (git clone):
- Uses `init/config/` directly
- Images copied from `init/images/` during install

Production (package):
- Configs to `/etc/rpi-power-hat/`
- Templates to `/usr/share/rpi-power-hat/templates/`
- Images dir created at `/var/lib/rpi-power-hat/images/`

### Runtime configuration

Do not edit files in this directory.

Instead:
- `/etc/rpi-power-hat/ports.conf`
- `/etc/rpi-power-hat/network.conf`
- `/etc/rpi-power-hat/hardware.conf`
- Add OS images to `/var/lib/rpi-power-hat/images/`
