mirror of
https://github.com/YunoHost-Apps/pihole_ynh.git
synced 2024-09-03 20:05:58 +02:00
Fix install dnsmasq
This commit is contained in:
parent
d5e132a069
commit
7b11f46a19
1 changed files with 4 additions and 0 deletions
|
@ -149,6 +149,10 @@ systemctl mask dnsmasq.service
|
||||||
# Reload systemd config
|
# Reload systemd config
|
||||||
systemctl daemon-reload
|
systemctl daemon-reload
|
||||||
|
|
||||||
|
# Workaround for strings to not be replaced
|
||||||
|
a_range="__A_RANGE__"
|
||||||
|
b_range="__B_RANGE__"
|
||||||
|
gateway="__GATEWAY__"
|
||||||
ynh_add_config --template="dnsmasq_regenconf_hook" --destination="/usr/share/yunohost/hooks/conf_regen/50-dnsmasq_$app"
|
ynh_add_config --template="dnsmasq_regenconf_hook" --destination="/usr/share/yunohost/hooks/conf_regen/50-dnsmasq_$app"
|
||||||
ynh_exec_warn_less yunohost tools regen-conf dnsmasq
|
ynh_exec_warn_less yunohost tools regen-conf dnsmasq
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue