diff --git a/tasmoadmin/rootfs/etc/cont-init.d/tasmoadmin.sh b/tasmoadmin/rootfs/etc/cont-init.d/tasmoadmin.sh index 20c5a42..d8d8c17 100644 --- a/tasmoadmin/rootfs/etc/cont-init.d/tasmoadmin.sh +++ b/tasmoadmin/rootfs/etc/cont-init.d/tasmoadmin.sh @@ -4,19 +4,6 @@ # Configures TasmoAdmin # ============================================================================== -# Migrate from older installations -if bashio::fs.directory_exists "/data/sonweb"; then - bashio::log.info 'Migrating data from sonweb to tasmoadmin...' - - # Rename data folder - mv /data/sonweb /data/tasmoadmin - - # Ensure file permissions - chown -R nginx:nginx /data/tasmoadmin - find /data/tasmoadmin -not -perm 0644 -type f -exec chmod 0644 {} \; - find /data/tasmoadmin -not -perm 0755 -type d -exec chmod 0755 {} \; -fi - # Ensure persistant storage exists if ! bashio::fs.directory_exists "/data/tasmoadmin"; then bashio::log.debug 'Data directory not initialized, doing that now...'