Remove custom up and down

This commit is contained in:
Alexandre
2023-12-30 19:20:28 +01:00
committed by GitHub
parent 974c75ddcd
commit c38af264d0

View File

@@ -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"