mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-01-10 09:51:02 +01:00
enable only smbclient list
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user