mirror of
https://github.com/hassio-addons/addon-traccar.git
synced 2025-05-04 19:11:31 +00:00
8 lines
390 B
Bash
8 lines
390 B
Bash
#!/usr/bin/with-contenv bashio
|
|
# ==============================================================================
|
|
# Community Hass.io Add-ons: Traccar
|
|
# Ensures the user configuration file is present
|
|
# ==============================================================================
|
|
if ! bashio::fs.file_exists "/config/traccar.xml"; then
|
|
cp /etc/traccar/traccar.xml /config/traccar.xml
|
|
fi
|