mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-05-31 04:44:05 +02: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"
|
disk="//192.168.178.23/NAS"
|
||||||
CIFS_USERNAME="homeassistant"
|
CIFS_USERNAME="homeassistant"
|
||||||
CIFS_PASSWORD="Bonjour01"
|
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
|
smbclient -L $disk -U $CIFS_USERNAME%$CIFS_PASSWORD || true
|
||||||
|
|
||||||
# Error code
|
# Error code
|
||||||
|
|||||||
@@ -70,7 +70,7 @@ if bashio::config.has_value 'networkdisks'; then
|
|||||||
|
|
||||||
# Provide debugging info
|
# Provide debugging info
|
||||||
smbclient -V &>/dev/null || apt-get install smbclient || apk add --no-cache samba-client
|
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
|
smbclient -L $disk -U $CIFS_USERNAME%$CIFS_PASSWORD || true
|
||||||
|
|
||||||
# Error code
|
# Error code
|
||||||
|
|||||||
@@ -70,7 +70,7 @@ if bashio::config.has_value 'networkdisks'; then
|
|||||||
|
|
||||||
# Provide debugging info
|
# Provide debugging info
|
||||||
smbclient -V &>/dev/null || apt-get install smbclient || apk add --no-cache samba-client
|
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
|
smbclient -L $disk -U $CIFS_USERNAME%$CIFS_PASSWORD || true
|
||||||
|
|
||||||
# Error code
|
# Error code
|
||||||
|
|||||||
@@ -133,7 +133,7 @@ if bashio::config.has_value 'networkdisks'; then
|
|||||||
|
|
||||||
# Provide debugging info
|
# Provide debugging info
|
||||||
smbclient -V &>/dev/null || apt-get install smbclient || apk add --no-cache samba-client
|
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
|
smbclient -L $disk -U $CIFS_USERNAME%$CIFS_PASSWORD || true
|
||||||
|
|
||||||
# Error code
|
# Error code
|
||||||
|
|||||||
@@ -70,7 +70,7 @@ if bashio::config.has_value 'networkdisks'; then
|
|||||||
|
|
||||||
# Provide debugging info
|
# Provide debugging info
|
||||||
smbclient -V &>/dev/null || apt-get install smbclient || apk add --no-cache samba-client
|
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
|
smbclient -L $disk -U $CIFS_USERNAME%$CIFS_PASSWORD || true
|
||||||
|
|
||||||
# Error code
|
# Error code
|
||||||
|
|||||||
Reference in New Issue
Block a user