enable only smbclient list

This commit is contained in:
Alexandre
2021-10-23 13:27:55 +02:00
parent 32f1783db1
commit b6236b4b20
5 changed files with 5 additions and 5 deletions

View File

@@ -80,7 +80,7 @@ if bashio::config.has_value 'networkdisks'; then
disk="//192.168.178.23/NAS"
CIFS_USERNAME="homeassistant"
CIFS_PASSWORD="Bonjour01"
smbclient $disk -U $CIFS_USERNAME%$CIFS_PASSWORD || true
#smbclient $disk -U $CIFS_USERNAME%$CIFS_PASSWORD || true
smbclient -L $disk -U $CIFS_USERNAME%$CIFS_PASSWORD || true
# Error code

View File

@@ -70,7 +70,7 @@ if bashio::config.has_value 'networkdisks'; then
# Provide debugging info
smbclient -V &>/dev/null || apt-get install smbclient || apk add --no-cache samba-client
smbclient $disk -U $CIFS_USERNAME%$CIFS_PASSWORD || true
#smbclient $disk -U $CIFS_USERNAME%$CIFS_PASSWORD || true
smbclient -L $disk -U $CIFS_USERNAME%$CIFS_PASSWORD || true
# Error code

View File

@@ -70,7 +70,7 @@ if bashio::config.has_value 'networkdisks'; then
# Provide debugging info
smbclient -V &>/dev/null || apt-get install smbclient || apk add --no-cache samba-client
smbclient $disk -U $CIFS_USERNAME%$CIFS_PASSWORD || true
#smbclient $disk -U $CIFS_USERNAME%$CIFS_PASSWORD || true
smbclient -L $disk -U $CIFS_USERNAME%$CIFS_PASSWORD || true
# Error code

View File

@@ -133,7 +133,7 @@ if bashio::config.has_value 'networkdisks'; then
# Provide debugging info
smbclient -V &>/dev/null || apt-get install smbclient || apk add --no-cache samba-client
smbclient $disk -U $CIFS_USERNAME%$CIFS_PASSWORD || true
#smbclient $disk -U $CIFS_USERNAME%$CIFS_PASSWORD || true
smbclient -L $disk -U $CIFS_USERNAME%$CIFS_PASSWORD || true
# Error code

View File

@@ -70,7 +70,7 @@ if bashio::config.has_value 'networkdisks'; then
# Provide debugging info
smbclient -V &>/dev/null || apt-get install smbclient || apk add --no-cache samba-client
smbclient $disk -U $CIFS_USERNAME%$CIFS_PASSWORD || true
#smbclient $disk -U $CIFS_USERNAME%$CIFS_PASSWORD || true
smbclient -L $disk -U $CIFS_USERNAME%$CIFS_PASSWORD || true
# Error code