Update 'DynDNS/install.sh'
This commit is contained in:
parent
1d00774ee2
commit
54b473e071
|
@ -18,8 +18,5 @@ echo "cd /root/dyndns/ && lua dyndns.lua" > /etc/hotplug.d/dhcp/99-dyndns
|
||||||
chmod 755 /etc/hotplug.d/dhcp/99-dyndns
|
chmod 755 /etc/hotplug.d/dhcp/99-dyndns
|
||||||
chmod +x /etc/hotplug.d/dhcp/99-dyndns
|
chmod +x /etc/hotplug.d/dhcp/99-dyndns
|
||||||
|
|
||||||
# Add addnlist to the config
|
|
||||||
uci set dhcp.@dnsmasq[0].addnhosts='/tmp/dyndns'
|
|
||||||
|
|
||||||
# Reload dnsmasq
|
# Reload dnsmasq
|
||||||
/etc/init.d/dnsmasq reload
|
/etc/init.d/dnsmasq reload
|
Loading…
Reference in a new issue