1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/hotspot_ynh.git synced 2024-09-03 19:25:53 +02:00

Fix an nginx conf typo

This commit is contained in:
Julien VAUBOURG 2014-12-28 23:27:39 +01:00
parent 87450f373e
commit 266a68bcea
3 changed files with 52 additions and 47 deletions

View file

@ -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

View file

@ -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