mirror of
https://github.com/YunoHost-Apps/hotspot_ynh.git
synced 2024-09-03 19:25:53 +02:00
fix typo in dnsmasq pid name
This commit is contained in:
parent
3366dbbbec
commit
0dcddf281c
1 changed files with 2 additions and 2 deletions
|
@ -148,13 +148,13 @@ start_dhcpd() {
|
||||||
# Run DHCPv4 server
|
# Run DHCPv4 server
|
||||||
if ! is_dhcpd4_running; then
|
if ! is_dhcpd4_running; then
|
||||||
echo "hotspot ${wifi_device}: Start the DHCPv4 server (dnsmasq)"
|
echo "hotspot ${wifi_device}: Start the DHCPv4 server (dnsmasq)"
|
||||||
dnsmasq -C /etc/dnsmasq.$app/dhcpdv4.conf -p0 -x /run/dnsmasq/dnsmasq-dhcpv4-$app.pid
|
dnsmasq -C /etc/dnsmasq.$app/dhcpdv4.conf -p0 -x /run/dnsmasq/dnsmasq-dhcpdv4-$app.pid
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Run DHCPv6 server
|
# Run DHCPv6 server
|
||||||
if has_ip6delegatedprefix && ! is_dhcpd6_running; then
|
if has_ip6delegatedprefix && ! is_dhcpd6_running; then
|
||||||
echo "hotspot ${wifi_device}: Start the NDP and DHCPv6 server (dnsmasq)"
|
echo "hotspot ${wifi_device}: Start the NDP and DHCPv6 server (dnsmasq)"
|
||||||
dnsmasq -C /etc/dnsmasq.$app/dhcpdv6.conf -p0 -x /run/dnsmasq/dnsmasq-dhcpv6-$app.pid
|
dnsmasq -C /etc/dnsmasq.$app/dhcpdv6.conf -p0 -x /run/dnsmasq/dnsmasq-dhcpdv6-$app.pid
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue