mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-02-08 04:44:53 +01:00
Update 93-openvpn.sh
This commit is contained in:
@@ -32,7 +32,7 @@ if bashio::config.true 'openvpn_enabled'; then
|
|||||||
cp "$file" /tmpfile
|
cp "$file" /tmpfile
|
||||||
|
|
||||||
# Loop through each line of the input file
|
# Loop through each line of the input file
|
||||||
while read line
|
while read -r line
|
||||||
do
|
do
|
||||||
# Check if the line contains a txt file
|
# Check if the line contains a txt file
|
||||||
if [[ "$line" =~ \.txt ]] || [[ "$line" =~ \.crt ]]; then
|
if [[ "$line" =~ \.txt ]] || [[ "$line" =~ \.crt ]]; then
|
||||||
|
|||||||
Reference in New Issue
Block a user