mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-06-06 07:35:56 +02:00
Compare commits
6 Commits
6ab56f032f
...
2d8e45b4eb
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
2d8e45b4eb | ||
|
|
2d4eaaa44c | ||
|
|
ed97320d8d | ||
|
|
4fbdb04282 | ||
|
|
b16c94571b | ||
|
|
3cc1cdb189 |
@@ -51,4 +51,4 @@ slug: netalertx_fa
|
||||
tmpfs: true
|
||||
udev: true
|
||||
url: https://github.com/alexbelgium/hassio-addons
|
||||
version: "26.2.6"
|
||||
version: "26.1.17"
|
||||
|
||||
@@ -61,6 +61,10 @@ interface_name="$(basename "${wireguard_config}" .conf)"
|
||||
if [[ -z "${interface_name}" ]]; then
|
||||
interface_name='wg0'
|
||||
fi
|
||||
if [[ ${#interface_name} -gt 15 ]]; then
|
||||
bashio::log.warning "WireGuard interface name '${interface_name}' exceeds 15 characters; truncating to '${interface_name:0:15}'."
|
||||
interface_name="${interface_name:0:15}"
|
||||
fi
|
||||
|
||||
wireguard_runtime_config="${WIREGUARD_STATE_DIR}/${interface_name}.conf"
|
||||
|
||||
|
||||
@@ -11,6 +11,10 @@ devices:
|
||||
- /dev/ttyUSB1
|
||||
- /dev/ttyACM0
|
||||
- /dev/ttyACM1
|
||||
- /dev/i2c-0
|
||||
- /dev/i2c-1
|
||||
- /dev/i2c-13
|
||||
- /dev/i2c-14
|
||||
environment:
|
||||
HOME: /config
|
||||
NMEA0183PORT: "10110"
|
||||
|
||||
Reference in New Issue
Block a user