2023-05-29 19:51:46 +02:00
|
|
|
# LibreELEC setup
|
|
|
|
|
|
|
|
This repository contains setup or configuration files for [LibreELEC](https://libreelec.tv/) after installation.
|
|
|
|
|
|
|
|
### WireGuard VPN setup
|
|
|
|
* copy `~/.config/wireguard/wireguard.config.sample` to a new file, and adjust the parameters (see
|
|
|
|
https://wiki.libreelec.tv/configuration/wireguard for reference)
|
2023-06-03 12:33:17 +02:00
|
|
|
|
|
|
|
### Files
|
2023-05-29 19:51:46 +02:00
|
|
|
* `set-resolv-conf.sh` moves last DNS entry up in `/etc/resolv.conf` (is called after VPN initialization)
|
2023-06-03 12:33:17 +02:00
|
|
|
* `variables.conf.template` contains examples variables definitions, and should be copied locally to `variables.conf`
|
|
|
|
(with any required modifications).
|
|
|
|
* `systemd-templates/` contains Systemd units templates for detecting VPN connection, and apply routes and DNS
|
|
|
|
modifications.
|
|
|
|
#### Installation
|
|
|
|
* `install.sh` script copies Systemd templates to their destination, and enables trigger.
|
|
|
|
|
|
|
|
### TODO
|
|
|
|
* Define a trigger
|