1
0
mirror of https://github.com/billz/raspap-webgui.git synced 2023-10-10 13:37:24 +02:00

Updating version and sudoers

This commit is contained in:
Lawrence 2017-10-04 01:34:44 +08:00
parent 0d456d3540
commit ecdf34467b
2 changed files with 6 additions and 3 deletions

View File

@ -13,7 +13,7 @@
* @author Lawrence Yau <sirlagz@gmail.com> * @author Lawrence Yau <sirlagz@gmail.com>
* @author Bill Zimmerman <billzimmerman@gmail.com> * @author Bill Zimmerman <billzimmerman@gmail.com>
* @license GNU General Public License, version 3 (GPL-3.0) * @license GNU General Public License, version 3 (GPL-3.0)
* @version 1.1 * @version 1.2.2
* @link https://github.com/billz/raspap-webgui * @link https://github.com/billz/raspap-webgui
* @see http://sirlagz.net/2013/02/08/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>
<span class="icon-bar"></span> <span class="icon-bar"></span>
</button> </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.2</a>
</div> </div>
<!-- /.navbar-header --> <!-- /.navbar-header -->
@ -135,7 +135,7 @@ $csrf_token = $_SESSION['csrf_token'];
<a href="index.php?page=hostapd_conf"><i class="fa fa-dot-circle-o fa-fw"></i> Configure hotspot</a> <a href="index.php?page=hostapd_conf"><i class="fa fa-dot-circle-o fa-fw"></i> Configure hotspot</a>
</li> </li>
<li> <li>
<a href="index.php?page=dhcpd_conf"><i class="fa fa-exchange fa-fw"></i> Configure DHCP</a> <a href="index.php?page=dhcpd_conf"><i class="fa fa-exchange fa-fw"></i> Configure DHCP Server</a>
</li> </li>
<?php if ( RASPI_OPENVPN_ENABLED ) : ?> <?php if ( RASPI_OPENVPN_ENABLED ) : ?>
<li> <li>

View File

@ -183,6 +183,9 @@ function patch_system_files() {
'/bin/cp /tmp/dhcpddata /etc/dnsmasq.conf' '/bin/cp /tmp/dhcpddata /etc/dnsmasq.conf'
'/sbin/shutdown -h now' '/sbin/shutdown -h now'
'/sbin/reboot' '/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 # Check if sudoers needs patchin