mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-06-13 02:51:27 +02:00
Improvement : use 755
This commit is contained in:
@@ -174,7 +174,7 @@ if bashio::config.true 'auto_restart'; then
|
||||
set -o posix
|
||||
export -p
|
||||
) > /env.sh
|
||||
chmod 777 /env.sh
|
||||
chmod 755 /env.sh
|
||||
chmod +x /usr/bin/restart_addon
|
||||
sed -i "1a . /env.sh; /usr/bin/restart_addon >/proc/1/fd/1 2>/proc/1/fd/2" /etc/openvpn/tunnelDown.sh
|
||||
|
||||
|
||||
Reference in New Issue
Block a user