mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-02-04 19:07:43 +01:00
13 lines
309 B
Bash
13 lines
309 B
Bash
#!/bin/bash
|
|
# 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"
|