From 817f401b01c3d1e9e64d1ec636ca5610ea43d2df Mon Sep 17 00:00:00 2001 From: clewsy Date: Mon, 24 Feb 2020 07:47:04 +1100 Subject: [PATCH] :fire: Removed redundant copy statement. (#73) * Amended creation of /data/motioneye/motion.conf if it doesn't exist. * Removed redundant copy statement. --- motioneye/rootfs/etc/cont-init.d/motioneye.sh | 6 ------ 1 file changed, 6 deletions(-) diff --git a/motioneye/rootfs/etc/cont-init.d/motioneye.sh b/motioneye/rootfs/etc/cont-init.d/motioneye.sh index 7ed4dbe..3fef171 100644 --- a/motioneye/rootfs/etc/cont-init.d/motioneye.sh +++ b/motioneye/rootfs/etc/cont-init.d/motioneye.sh @@ -11,12 +11,6 @@ if ! bashio::fs.directory_exists '/data/motioneye'; then || bashio::exit.nok 'Failed to create initial motionEye configuration' fi -# Needed for existing installations. -if ! bashio::fs.file_exists "${CONF}"; then - cp /etc/motioneye/motion.conf "${CONF}" \ - || bashio::exit.nok 'Failed to create initial motion configuration' -fi - # Migration if bashio::fs.file_exists "${CONF}"; then bashio::log.debug "Running startup migrations"