mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-02-05 19:34:52 +01:00
13 lines
319 B
Bash
13 lines
319 B
Bash
#!/usr/bin/env bashio
|
|
# shellcheck shell=bash
|
|
|
|
#CONFIGSOURCE=$(bashio::config "CONFIG_LOCATION")
|
|
#CONFIGSOURCE=$(dirname "$CONFIGSOURCE")
|
|
CONFIGSOURCE="/config/addons_config/zoneminder"
|
|
|
|
# Create directory
|
|
mkdir -p "$CONFIGSOURCE" || true
|
|
|
|
# Make sure permissions are right
|
|
chown -R "$(id -u):$(id -g)" "$CONFIGSOURCE"
|