mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-01-11 18:31:02 +01:00
Move smbclient to automatic_apps
This commit is contained in:
@@ -143,11 +143,6 @@ if bashio::config.has_value 'networkdisks'; then
|
||||
bashio::log.fatal "Error, unable to mount $disk to /mnt/$diskname with username $CIFS_USERNAME, $CIFS_PASSWORD. Please check your remote share path, username, password, domain, try putting 0 in UID and GID"
|
||||
bashio::log.fatal "Here is some debugging info :"
|
||||
|
||||
# Download smbclient
|
||||
if command -v "apk" &>/dev/null; then apk add --no-cache samba-client &>/dev/null; fi
|
||||
if command -v "apt" &>/dev/null; then apt-get install smbclient &>/dev/null; fi
|
||||
if command -v "pacman" &>/dev/null; then pacman -S smbclient; fi
|
||||
|
||||
# Provide debugging info
|
||||
smbclient -L $disk -U "$CIFS_USERNAME%$CIFS_PASSWORD" || true
|
||||
|
||||
|
||||
Reference in New Issue
Block a user