mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-07-04 21:18:46 +02:00
Update run.sh
This commit is contained in:
@@ -1,6 +1,6 @@
|
|||||||
#!/usr/bin/env bashio
|
#!/usr/bin/env bashio
|
||||||
|
|
||||||
bashio::log.warning "Warning - minimum configuration required: 2 cpu cores and 4 GB of memory"
|
bashio::log.warning "Warning - minimum configuration recommended : 2 cpu cores and 4 GB of memory"
|
||||||
|
|
||||||
##########
|
##########
|
||||||
# BANNER #
|
# BANNER #
|
||||||
@@ -143,7 +143,7 @@ then
|
|||||||
true
|
true
|
||||||
else
|
else
|
||||||
bashio::log.info "Path $variabletest doesn't exist. Creating it now..."
|
bashio::log.info "Path $variabletest doesn't exist. Creating it now..."
|
||||||
mkdir -p $variable || bashio::log.fatal "Can't create $variabletest path"
|
mkdir -p $variabletest || bashio::log.fatal "Can't create $variabletest path"
|
||||||
fi
|
fi
|
||||||
# Check if path writable
|
# Check if path writable
|
||||||
touch $variabletest/aze && rm $variabletest/aze || bashio::log.fatal "$variable path is not writable"
|
touch $variabletest/aze && rm $variabletest/aze || bashio::log.fatal "$variable path is not writable"
|
||||||
|
|||||||
Reference in New Issue
Block a user