Updated version numbers. Fixed up Sudoers file to include latest ip commands.

This commit is contained in:
Lawrence 2017-10-04 01:06:47 +08:00
parent 0936541ccc
commit 0be196d708
2 changed files with 4 additions and 2 deletions

View file

@ -13,7 +13,7 @@
* @author Lawrence Yau <sirlagz@gmail.com>
* @author Bill Zimmerman <billzimmerman@gmail.com>
* @license GNU General Public License, version 3 (GPL-3.0)
* @version 1.1
* @version 1.2.1
* @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'];
<span class="icon-bar"></span>
<span class="icon-bar"></span>
</button>
<a class="navbar-brand" href="index.php">RaspAP Wifi Portal v1.1</a>
<a class="navbar-brand" href="index.php">RaspAP Wifi Portal v1.2.1</a>
</div>
<!-- /.navbar-header -->

View file

@ -183,6 +183,8 @@ 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'
)
# Check if sudoers needs patchin