mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-06-02 05:44:03 +02:00
Update 50-mounts
This commit is contained in:
@@ -32,7 +32,7 @@ if bashio::config.has_value 'networkdisks'; then
|
|||||||
echo "Creating /share/storagecifs"
|
echo "Creating /share/storagecifs"
|
||||||
mkdir -p /share/storagecifs
|
mkdir -p /share/storagecifs
|
||||||
chown -R abc:abc /share/storagecifs
|
chown -R abc:abc /share/storagecifs
|
||||||
mount -t cifs -o username=$CIFS_USERNAME,password=$CIFS_PASSWORD $disk /storage/storagecifs && \
|
mount -t cifs -o username=$CIFS_USERNAME,password=$CIFS_PASSWORD $disk /share/storagecifs && \
|
||||||
bashio::log.info "Success!"
|
bashio::log.info "Success!"
|
||||||
done || \
|
done || \
|
||||||
bashio::log.warning "Protection mode is ON. Unable to mount external drives!"
|
bashio::log.warning "Protection mode is ON. Unable to mount external drives!"
|
||||||
|
|||||||
Reference in New Issue
Block a user