Clean Code

This commit is contained in:
Alexandre
2021-10-28 23:27:08 +02:00
parent 7249d8b938
commit fa9d81c65b
15 changed files with 30 additions and 30 deletions

View File

@@ -4,13 +4,13 @@
# MOUNT LOCAL SHARES #
######################
echo 'Mounting external hdd...'
# Mount local Share if configured
if bashio::config.has_value 'localdisks'; then
MOREDISKS=$(bashio::config 'localdisks')
bashio::log.info "Local Disks mounting..."
echo "Local Disks mounting..."
# Separate comma separated values
for disk in ${MOREDISKS//,/ }; do

View File

@@ -4,13 +4,13 @@
# MOUNT LOCAL SHARES #
######################
echo 'Mounting external hdd...'
# Mount local Share if configured
if bashio::config.has_value 'localdisks'; then
MOREDISKS=$(bashio::config 'localdisks')
bashio::log.info "Local Disks mounting..."
echo "Local Disks mounting..."
# Separate comma separated values
for disk in ${MOREDISKS//,/ }; do

View File

@@ -4,13 +4,13 @@
# MOUNT LOCAL SHARES #
######################
echo 'Mounting external hdd...'
# Mount local Share if configured
if bashio::config.has_value 'localdisks'; then
MOREDISKS=$(bashio::config 'localdisks')
bashio::log.info "Local Disks mounting..."
echo "Local Disks mounting..."
# Separate comma separated values
for disk in ${MOREDISKS//,/ }; do

View File

@@ -4,13 +4,13 @@
# MOUNT LOCAL SHARES #
######################
echo 'Mounting external hdd...'
# Mount local Share if configured
if bashio::config.has_value 'localdisks'; then
MOREDISKS=$(bashio::config 'localdisks')
bashio::log.info "Local Disks mounting..."
echo "Local Disks mounting..."
# Separate comma separated values
for disk in ${MOREDISKS//,/ }; do

View File

@@ -4,13 +4,13 @@
# MOUNT LOCAL SHARES #
######################
echo 'Mounting external hdd...'
# Mount local Share if configured
if bashio::config.has_value 'localdisks'; then
MOREDISKS=$(bashio::config 'localdisks')
bashio::log.info "Local Disks mounting..."
echo "Local Disks mounting..."
# Separate comma separated values
for disk in ${MOREDISKS//,/ }; do

View File

@@ -4,13 +4,13 @@
# MOUNT LOCAL SHARES #
######################
echo 'Mounting external hdd...'
# Mount local Share if configured
if bashio::config.has_value 'localdisks'; then
MOREDISKS=$(bashio::config 'localdisks')
bashio::log.info "Local Disks mounting..."
echo "Local Disks mounting..."
# Separate comma separated values
for disk in ${MOREDISKS//,/ }; do

View File

@@ -4,13 +4,13 @@
# MOUNT LOCAL SHARES #
######################
echo 'Mounting external hdd...'
# Mount local Share if configured
if bashio::config.has_value 'localdisks'; then
MOREDISKS=$(bashio::config 'localdisks')
bashio::log.info "Local Disks mounting..."
echo "Local Disks mounting..."
# Separate comma separated values
for disk in ${MOREDISKS//,/ }; do

View File

@@ -4,13 +4,13 @@
# MOUNT LOCAL SHARES #
######################
echo 'Mounting external hdd...'
# Mount local Share if configured
if bashio::config.has_value 'localdisks'; then
MOREDISKS=$(bashio::config 'localdisks')
bashio::log.info "Local Disks mounting..."
echo "Local Disks mounting..."
# Separate comma separated values
for disk in ${MOREDISKS//,/ }; do

View File

@@ -4,13 +4,13 @@
# MOUNT LOCAL SHARES #
######################
echo 'Mounting external hdd...'
# Mount local Share if configured
if bashio::config.has_value 'localdisks'; then
MOREDISKS=$(bashio::config 'localdisks')
bashio::log.info "Local Disks mounting..."
echo "Local Disks mounting..."
# Separate comma separated values
for disk in ${MOREDISKS//,/ }; do

View File

@@ -4,13 +4,13 @@
# MOUNT LOCAL SHARES #
######################
echo 'Mounting external hdd...'
# Mount local Share if configured
if bashio::config.has_value 'localdisks'; then
MOREDISKS=$(bashio::config 'localdisks')
bashio::log.info "Local Disks mounting..."
echo "Local Disks mounting..."
# Separate comma separated values
for disk in ${MOREDISKS//,/ }; do

View File

@@ -4,13 +4,13 @@
# MOUNT LOCAL SHARES #
######################
echo 'Mounting external hdd...'
# Mount local Share if configured
if bashio::config.has_value 'localdisks'; then
MOREDISKS=$(bashio::config 'localdisks')
bashio::log.info "Local Disks mounting..."
echo "Local Disks mounting..."
# Separate comma separated values
for disk in ${MOREDISKS//,/ }; do

View File

@@ -4,13 +4,13 @@
# MOUNT LOCAL SHARES #
######################
echo 'Mounting external hdd...'
# Mount local Share if configured
if bashio::config.has_value 'localdisks'; then
MOREDISKS=$(bashio::config 'localdisks')
bashio::log.info "Local Disks mounting..."
echo "Local Disks mounting..."
# Separate comma separated values
for disk in ${MOREDISKS//,/ }; do

View File

@@ -4,13 +4,13 @@
# MOUNT LOCAL SHARES #
######################
echo 'Mounting external hdd...'
# Mount local Share if configured
if bashio::config.has_value 'localdisks'; then
MOREDISKS=$(bashio::config 'localdisks')
bashio::log.info "Local Disks mounting..."
echo "Local Disks mounting..."
# Separate comma separated values
for disk in ${MOREDISKS//,/ }; do

View File

@@ -4,13 +4,13 @@
# MOUNT LOCAL SHARES #
######################
echo 'Mounting external hdd...'
# Mount local Share if configured
if bashio::config.has_value 'localdisks'; then
MOREDISKS=$(bashio::config 'localdisks')
bashio::log.info "Local Disks mounting..."
echo "Local Disks mounting..."
# Separate comma separated values
for disk in ${MOREDISKS//,/ }; do

View File

@@ -4,13 +4,13 @@
# MOUNT LOCAL SHARES #
######################
echo 'Mounting external hdd...'
# Mount local Share if configured
if bashio::config.has_value 'localdisks'; then
MOREDISKS=$(bashio::config 'localdisks')
bashio::log.info "Local Disks mounting..."
echo "Local Disks mounting..."
# Separate comma separated values
for disk in ${MOREDISKS//,/ }; do