From 73d61e8e786e82dfe73fbce27cb48ebebde07f11 Mon Sep 17 00:00:00 2001 From: Clewsy Date: Thu, 13 Feb 2020 13:59:34 +1100 Subject: [PATCH] Fixed variable target dirs. --- motioneye/rootfs/etc/cont-init.d/motioneye.sh | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/motioneye/rootfs/etc/cont-init.d/motioneye.sh b/motioneye/rootfs/etc/cont-init.d/motioneye.sh index ad97ff1..fb3746c 100644 --- a/motioneye/rootfs/etc/cont-init.d/motioneye.sh +++ b/motioneye/rootfs/etc/cont-init.d/motioneye.sh @@ -3,8 +3,8 @@ # Community Hass.io Add-ons: motionEye # Creates initial motionEye configuration in case it is non-existing # ============================================================================== -readonly CONF='/data/motioneye/motioneye.conf' -readonly MOTION='/data/motioneye/motion.conf' +readonly CONF='/config/motioneye/motioneye.conf' +readonly MOTION='/config/motioneye/motion.conf' # Ensure configuration exists if ! bashio::fs.directory_exists '/config/motioneye'; then @@ -16,7 +16,6 @@ if ! bashio::fs.directory_exists '/config/motioneye'; then fi - # Migration if bashio::fs.file_exists "${CONF}"; then bashio::log.debug "Running startup migrations"