mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-01-11 18:31:02 +01:00
Github bot : script beautyshied
This commit is contained in:
@@ -121,9 +121,9 @@ if bashio::config.has_value 'networkdisks'; then
|
||||
|
||||
# Alert if smbv1
|
||||
if [[ "$MOUNTOPTIONS" == *"1.0"* ]]; then
|
||||
bashio::log.warning ""
|
||||
bashio::log.warning "Your smb system requires smbv1. This is an obsolete protocol. Please correct this to prevent issues."
|
||||
bashio::log.warning ""
|
||||
bashio::log.warning ""
|
||||
bashio::log.warning "Your smb system requires smbv1. This is an obsolete protocol. Please correct this to prevent issues."
|
||||
bashio::log.warning ""
|
||||
fi
|
||||
|
||||
else
|
||||
|
||||
@@ -99,7 +99,7 @@ if bashio::config.true "OPENVPN_CUSTOM_PROVIDER"; then
|
||||
mkdir -p /etc/openvpn/"$OPENVPN_PROVIDER"
|
||||
mkdir -p /tmp/tmp2/temp/openvpn/"$OPENVPN_PROVIDER"
|
||||
cp "$OVPNLOCATION" /tmp/tmp2/temp/openvpn/"$OPENVPN_PROVIDER"/"$OPENVPN_PROVIDER".ovpn || \
|
||||
cp "$OVPNLOCATION/$OVPNCONFIG" /tmp/tmp2/temp/openvpn/"$OPENVPN_PROVIDER"/"$OPENVPN_PROVIDER".ovpn
|
||||
cp "$OVPNLOCATION/$OVPNCONFIG" /tmp/tmp2/temp/openvpn/"$OPENVPN_PROVIDER"/"$OPENVPN_PROVIDER".ovpn
|
||||
|
||||
# Use custom provider
|
||||
echo "Exporting variable for custom provider : $OPENVPN_PROVIDER"
|
||||
|
||||
Reference in New Issue
Block a user