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

Fix html typo

This commit is contained in:
Julien VAUBOURG 2015-03-18 21:35:30 +01:00
parent 6f889c9e2a
commit 0c10a4e891
2 changed files with 4 additions and 2 deletions

View file

@ -174,7 +174,6 @@ unset_ip6addr() {
unset_dhcpd() { unset_dhcpd() {
rm -f /etc/dnsmasq.d/dhcpdv?.conf rm -f /etc/dnsmasq.d/dhcpdv?.conf
service dnsmasq restart
} }
unset_forwarding() { unset_forwarding() {
@ -344,6 +343,7 @@ case "$1" in
set_dhcpd set_dhcpd
fi fi
# Restart dhcpd
service bind9 stop &> /dev/null service bind9 stop &> /dev/null
service dnsmasq restart service dnsmasq restart
@ -388,6 +388,8 @@ case "$1" in
if has_vpnclient_app; then if has_vpnclient_app; then
service ynh-vpnclient start service ynh-vpnclient start
fi fi
service dnsmasq restart
;; ;;
restart) restart)
$0 stop $0 stop

View file

@ -71,7 +71,7 @@
<div style="padding: 14px 14px 0 10px"> <div style="padding: 14px 14px 0 10px">
<div class="form-group"> <div class="form-group">
<label for="wifi_secure" class="col-sm-3 control-label"><?= T_('Hotspot Enabled') ?></label> <label for="wifi_secure" class="col-sm-3 control-label"><?= T_('Hotspot Enabled') ?></label>
<div class="col-sm-9 input-group-btn" data-toggle="tooltip" ?>"> <div class="col-sm-9 input-group-btn">
<div class="input-group"> <div class="input-group">
<input type="checkbox" class="form-control switch" name="service_enabled" id="service_enabled" value="1" <?= $service_enabled == 1 ? 'checked="checked"' : '' ?> /> <input type="checkbox" class="form-control switch" name="service_enabled" id="service_enabled" value="1" <?= $service_enabled == 1 ? 'checked="checked"' : '' ?> />
</div> </div>