mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-01-20 19:48:11 +01:00
Remove custom up and down
This commit is contained in:
@@ -59,6 +59,10 @@ if bashio::config.true 'openvpn_enabled'; then
|
||||
# Standardize lf
|
||||
dos2unix "$file"
|
||||
|
||||
# Remove custom up & down
|
||||
sed -i '/^up /s/^/#/' "$file"
|
||||
sed -i '/^down /s/^/#/' "$file"
|
||||
|
||||
# Remove blank lines
|
||||
sed -i '/^[[:blank:]]*$/d' "$file"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user