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