initial build

This commit is contained in:
Alexandre
2022-03-11 19:53:52 +01:00
parent 88dc731ace
commit 97d0028911
12 changed files with 388 additions and 1 deletions

View File

@@ -0,0 +1,12 @@
#!/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"