mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-05-22 08:41:50 +02:00
clean code
This commit is contained in:
@@ -7,7 +7,7 @@ MOUNTPOINTS="share"
|
|||||||
|
|
||||||
bashio::log.info 'Mounting external hdd...'
|
bashio::log.info 'Mounting external hdd...'
|
||||||
|
|
||||||
# Mount local Share if configured and if Protection Mode is active
|
# Mount local Share if configured
|
||||||
if bashio::config.has_value 'localdisks'; then
|
if bashio::config.has_value 'localdisks'; then
|
||||||
|
|
||||||
MOREDISKS=$(bashio::config 'localdisks')
|
MOREDISKS=$(bashio::config 'localdisks')
|
||||||
|
|||||||
@@ -7,7 +7,7 @@ MOUNTPOINTS="share"
|
|||||||
|
|
||||||
bashio::log.info 'Mounting external hdd...'
|
bashio::log.info 'Mounting external hdd...'
|
||||||
|
|
||||||
# Mount local Share if configured and if Protection Mode is active
|
# Mount local Share if configured
|
||||||
if bashio::config.has_value 'localdisks'; then
|
if bashio::config.has_value 'localdisks'; then
|
||||||
|
|
||||||
MOREDISKS=$(bashio::config 'localdisks')
|
MOREDISKS=$(bashio::config 'localdisks')
|
||||||
|
|||||||
@@ -7,7 +7,7 @@ MOUNTPOINTS="share"
|
|||||||
|
|
||||||
bashio::log.info 'Mounting external hdd...'
|
bashio::log.info 'Mounting external hdd...'
|
||||||
|
|
||||||
# Mount local Share if configured and if Protection Mode is active
|
# Mount local Share if configured
|
||||||
if bashio::config.has_value 'localdisks'; then
|
if bashio::config.has_value 'localdisks'; then
|
||||||
|
|
||||||
MOREDISKS=$(bashio::config 'localdisks')
|
MOREDISKS=$(bashio::config 'localdisks')
|
||||||
|
|||||||
@@ -7,7 +7,7 @@ MOUNTPOINTS="share"
|
|||||||
|
|
||||||
bashio::log.info 'Mounting external hdd...'
|
bashio::log.info 'Mounting external hdd...'
|
||||||
|
|
||||||
# Mount local Share if configured and if Protection Mode is active
|
# Mount local Share if configured
|
||||||
if bashio::config.has_value 'localdisks'; then
|
if bashio::config.has_value 'localdisks'; then
|
||||||
|
|
||||||
MOREDISKS=$(bashio::config 'localdisks')
|
MOREDISKS=$(bashio::config 'localdisks')
|
||||||
|
|||||||
@@ -7,7 +7,7 @@ MOUNTPOINTS="share"
|
|||||||
|
|
||||||
bashio::log.info 'Mounting external hdd...'
|
bashio::log.info 'Mounting external hdd...'
|
||||||
|
|
||||||
# Mount local Share if configured and if Protection Mode is active
|
# Mount local Share if configured
|
||||||
if bashio::config.has_value 'localdisks'; then
|
if bashio::config.has_value 'localdisks'; then
|
||||||
|
|
||||||
MOREDISKS=$(bashio::config 'localdisks')
|
MOREDISKS=$(bashio::config 'localdisks')
|
||||||
|
|||||||
@@ -7,7 +7,7 @@ MOUNTPOINTS="share"
|
|||||||
|
|
||||||
bashio::log.info 'Mounting external hdd...'
|
bashio::log.info 'Mounting external hdd...'
|
||||||
|
|
||||||
# Mount local Share if configured and if Protection Mode is active
|
# Mount local Share if configured
|
||||||
if bashio::config.has_value 'localdisks'; then
|
if bashio::config.has_value 'localdisks'; then
|
||||||
|
|
||||||
MOREDISKS=$(bashio::config 'localdisks')
|
MOREDISKS=$(bashio::config 'localdisks')
|
||||||
|
|||||||
@@ -7,7 +7,7 @@ MOUNTPOINTS="share"
|
|||||||
|
|
||||||
bashio::log.info 'Mounting external hdd...'
|
bashio::log.info 'Mounting external hdd...'
|
||||||
|
|
||||||
# Mount local Share if configured and if Protection Mode is active
|
# Mount local Share if configured
|
||||||
if bashio::config.has_value 'localdisks'; then
|
if bashio::config.has_value 'localdisks'; then
|
||||||
|
|
||||||
MOREDISKS=$(bashio::config 'localdisks')
|
MOREDISKS=$(bashio::config 'localdisks')
|
||||||
|
|||||||
@@ -7,7 +7,7 @@ MOUNTPOINTS="share"
|
|||||||
|
|
||||||
bashio::log.info 'Mounting external hdd...'
|
bashio::log.info 'Mounting external hdd...'
|
||||||
|
|
||||||
# Mount local Share if configured and if Protection Mode is active
|
# Mount local Share if configured
|
||||||
if bashio::config.has_value 'localdisks'; then
|
if bashio::config.has_value 'localdisks'; then
|
||||||
|
|
||||||
MOREDISKS=$(bashio::config 'localdisks')
|
MOREDISKS=$(bashio::config 'localdisks')
|
||||||
|
|||||||
@@ -7,7 +7,7 @@ MOUNTPOINTS="share"
|
|||||||
|
|
||||||
bashio::log.info 'Mounting external hdd...'
|
bashio::log.info 'Mounting external hdd...'
|
||||||
|
|
||||||
# Mount local Share if configured and if Protection Mode is active
|
# Mount local Share if configured
|
||||||
if bashio::config.has_value 'localdisks'; then
|
if bashio::config.has_value 'localdisks'; then
|
||||||
|
|
||||||
MOREDISKS=$(bashio::config 'localdisks')
|
MOREDISKS=$(bashio::config 'localdisks')
|
||||||
|
|||||||
@@ -7,7 +7,7 @@ MOUNTPOINTS="share"
|
|||||||
|
|
||||||
bashio::log.info 'Mounting external hdd...'
|
bashio::log.info 'Mounting external hdd...'
|
||||||
|
|
||||||
# Mount local Share if configured and if Protection Mode is active
|
# Mount local Share if configured
|
||||||
if bashio::config.has_value 'localdisks'; then
|
if bashio::config.has_value 'localdisks'; then
|
||||||
|
|
||||||
MOREDISKS=$(bashio::config 'localdisks')
|
MOREDISKS=$(bashio::config 'localdisks')
|
||||||
|
|||||||
@@ -7,7 +7,7 @@ MOUNTPOINTS="mnt"
|
|||||||
|
|
||||||
bashio::log.info 'Mounting external hdd...'
|
bashio::log.info 'Mounting external hdd...'
|
||||||
|
|
||||||
# Mount local Share if configured and if Protection Mode is active
|
# Mount local Share if configured
|
||||||
if bashio::config.has_value 'localdisks'; then
|
if bashio::config.has_value 'localdisks'; then
|
||||||
|
|
||||||
MOREDISKS=$(bashio::config 'localdisks')
|
MOREDISKS=$(bashio::config 'localdisks')
|
||||||
|
|||||||
@@ -7,7 +7,7 @@ MOUNTPOINTS="share"
|
|||||||
|
|
||||||
bashio::log.info 'Mounting external hdd...'
|
bashio::log.info 'Mounting external hdd...'
|
||||||
|
|
||||||
# Mount local Share if configured and if Protection Mode is active
|
# Mount local Share if configured
|
||||||
if bashio::config.has_value 'localdisks'; then
|
if bashio::config.has_value 'localdisks'; then
|
||||||
|
|
||||||
MOREDISKS=$(bashio::config 'localdisks')
|
MOREDISKS=$(bashio::config 'localdisks')
|
||||||
|
|||||||
@@ -7,7 +7,7 @@ MOUNTPOINTS="share"
|
|||||||
|
|
||||||
bashio::log.info 'Mounting external hdd...'
|
bashio::log.info 'Mounting external hdd...'
|
||||||
|
|
||||||
# Mount local Share if configured and if Protection Mode is active
|
# Mount local Share if configured
|
||||||
if bashio::config.has_value 'localdisks'; then
|
if bashio::config.has_value 'localdisks'; then
|
||||||
|
|
||||||
MOREDISKS=$(bashio::config 'localdisks')
|
MOREDISKS=$(bashio::config 'localdisks')
|
||||||
|
|||||||
@@ -7,7 +7,7 @@ MOUNTPOINTS="share"
|
|||||||
|
|
||||||
bashio::log.info 'Mounting external hdd...'
|
bashio::log.info 'Mounting external hdd...'
|
||||||
|
|
||||||
# Mount local Share if configured and if Protection Mode is active
|
# Mount local Share if configured
|
||||||
if bashio::config.has_value 'localdisks'; then
|
if bashio::config.has_value 'localdisks'; then
|
||||||
|
|
||||||
MOREDISKS=$(bashio::config 'localdisks')
|
MOREDISKS=$(bashio::config 'localdisks')
|
||||||
|
|||||||
Reference in New Issue
Block a user