Fix an nginx conf typo
This commit is contained in:
@@ -141,6 +141,7 @@ set_dhcpd() {
|
||||
sed "s|<TPL:WIFI_DEVICE>|${ynh_wifi_device}|g" -i /etc/dnsmasq.d/dhcpdv4.conf
|
||||
sed "s|<TPL:IP4_NAT_PREFIX>|${ynh_ip4_nat_prefix}|g" -i /etc/dnsmasq.d/dhcpdv4.conf
|
||||
|
||||
service bind9 stop &> /dev/null
|
||||
service dnsmasq restart
|
||||
}
|
||||
|
||||
@@ -235,6 +236,8 @@ moulinette_set() {
|
||||
fi
|
||||
}
|
||||
|
||||
if [ "$1" != restart ]; then
|
||||
|
||||
# Restart php5-fpm at the first start (it needs to be restarted after the slapd start)
|
||||
if [ ! -e /tmp/.ynh-hotspot-boot ]; then
|
||||
touch /tmp/.ynh-hotspot-boot
|
||||
@@ -286,6 +289,8 @@ if [ ! -z "${vpnclient_ip6_addr}" ]; then
|
||||
fi
|
||||
fi
|
||||
|
||||
fi
|
||||
|
||||
# Script
|
||||
|
||||
case "$1" in
|
||||
|
||||
@@ -55,7 +55,7 @@ if [ ! $? -eq 0 ]; then
|
||||
fi
|
||||
|
||||
# Install packages
|
||||
packages='php5-fpm sipcalc hostapd iptables wireless-tools'
|
||||
packages='php5-fpm sipcalc hostapd iptables wireless-tools dnsmasq'
|
||||
|
||||
# Packaged USB Wireless Device firmwares
|
||||
# Based on https://wiki.debian.org/WiFi#USB_Devices
|
||||
|
||||
Reference in New Issue
Block a user