From ecdf34467b420913d1e1f019d01a89ac17b9d55d Mon Sep 17 00:00:00 2001 From: Lawrence Date: Wed, 4 Oct 2017 01:34:44 +0800 Subject: [PATCH] Updating version and sudoers --- index.php | 6 +++--- installers/common.sh | 3 +++ 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/index.php b/index.php index 37bd705e..d5cb80bd 100755 --- a/index.php +++ b/index.php @@ -13,7 +13,7 @@ * @author Lawrence Yau * @author Bill Zimmerman * @license GNU General Public License, version 3 (GPL-3.0) - * @version 1.1 + * @version 1.2.2 * @link https://github.com/billz/raspap-webgui * @see http://sirlagz.net/2013/02/08/raspap-webgui/ */ @@ -117,7 +117,7 @@ $csrf_token = $_SESSION['csrf_token']; - RaspAP Wifi Portal v1.1 + RaspAP Wifi Portal v1.2.2 @@ -135,7 +135,7 @@ $csrf_token = $_SESSION['csrf_token']; Configure hotspot
  • - Configure DHCP + Configure DHCP Server
  • diff --git a/installers/common.sh b/installers/common.sh index 6b07e9a3..93e82b54 100755 --- a/installers/common.sh +++ b/installers/common.sh @@ -183,6 +183,9 @@ function patch_system_files() { '/bin/cp /tmp/dhcpddata /etc/dnsmasq.conf' '/sbin/shutdown -h now' '/sbin/reboot' + '/sbin/ip link set wlan0 down' + '/sbin/ip link set wlan0 up' + '/sbin/ip -s a f label wlan0' ) # Check if sudoers needs patchin