Changes LokiAP to LabyrinthAP x 14

pull/41/head
glen 3 years ago
parent d28cff80b0
commit 18de957f6e

@ -34,7 +34,7 @@ LabyrinthAP comes with it's own auto-installation scripts to set up Lokinet and
- [License](#license)
## Prerequisites
Start with a clean install of [Armbian](https://www.armbian.com/) or [Raspberry Pi OS](https://www.raspberrypi.org/downloads/raspberry-pi-os/) (currently Buster and Stretch are verified as working). Lite versions are recommended as all additional dependencies are added by the installer. If using Raspberry Pi OS you will need to elevate to root with ```sudo su``` before running the LokiAP installer script. This additional step is not required when using Armbian.
Start with a clean install of [Armbian](https://www.armbian.com/) or [Raspberry Pi OS](https://www.raspberrypi.org/downloads/raspberry-pi-os/) (currently Buster and Stretch are verified as working). Lite versions are recommended as all additional dependencies are added by the installer. If using Raspberry Pi OS you will need to elevate to root with ```sudo su``` before running the LabyrinthAP installer script. This additional step is not required when using Armbian.
For Orange Pi R1 use Armbian Buster found here: https://www.armbian.com/orange-pi-r1/. Recommend using "minimal" which is available for direct download at the bottom of the page or much faster download by .torrent also linked there.

@ -10,7 +10,7 @@ require dhcp_server_identifier
slaac private
nohook lookup-hostname
# LokiAP-WebGui wireless configuration
# LabyrinthAP-WebGui wireless configuration
{
interface wlan0
static ip_address=10.3.141.1/24

@ -282,7 +282,7 @@ function DisplayWPAConfig(){
</form>
</div><!-- ./ Panel body -->
<div class="panel-footer"><?php echo _("<strong>Note:</strong> WEP access points appear as 'Open'. LokiAP does not currently support connecting to WEP"); ?></div>
<div class="panel-footer"><?php echo _("<strong>Note:</strong> WEP access points appear as 'Open'. LabyrinthAP does not currently support connecting to WEP"); ?></div>
</div><!-- /.panel-primary -->
</div><!-- /.col-lg-12 -->
</div><!-- /.row -->

@ -37,7 +37,7 @@ function DisplayThemeConfig(){
<div class="form-group col-md-6">
<label for="code"><?php echo _("Select a theme"); ?></label>
<select class="form-control" id="theme-select"><?php echo _("Select a Theme"); ?>
<option value="default" class="theme-link"<?php echo $cselected; ?>>LokiAP (default)</option>
<option value="default" class="theme-link"<?php echo $cselected; ?>>LabyrinthAP (default)</option>
<option value="hackernews" class="theme-link"<?php echo $hselected; ?>>HackerNews</option>
<option value="terminal" class="theme-link"<?php echo $tselected; ?>>Terminal</option>
</select>

@ -13,7 +13,7 @@
* @author TechnicalTumbleweed (Loki->Discord/Telegram)
* @license GNU General Public License, version 3 (GPL-3.0)
* @version 2.2
* @link https://github.com/necro-nemesis/Lokiap-webgui
* @link https://github.com/necro-nemesis/LabyrinthAP-webgui
*/
session_start();
@ -62,7 +62,7 @@ $theme_url = 'dist/css/'.htmlspecialchars($theme, ENT_QUOTES);
<meta name="description" content="">
<meta name="author" content="">
<title><?php echo _("LokiAP"); ?></title>
<title><?php echo _("LabyrinthAP"); ?></title>
<!-- Bootstrap Core CSS -->
<link href="vendor/bootstrap/css/bootstrap.min.css" rel="stylesheet">
@ -105,7 +105,7 @@ $theme_url = 'dist/css/'.htmlspecialchars($theme, ENT_QUOTES);
<span class="icon-bar"></span>
<span class="icon-bar"></span>
</button>
<a class="navbar-brand" href="index.php"style="font-family: Arial;font-size: 20px; color: #33ff00"><?php echo _("LokiAP Mixnet Portal"); ?> v<?php echo RASPI_VERSION; ?></a>
<a class="navbar-brand" href="index.php"style="font-family: Arial;font-size: 20px; color: #33ff00"><?php echo _("LabyrinthAP Mixnet Portal"); ?> v<?php echo RASPI_VERSION; ?></a>
</div>
<!-- /.navbar-header -->
@ -172,7 +172,7 @@ $theme_url = 'dist/css/'.htmlspecialchars($theme, ENT_QUOTES);
<div class="row">
<div class="col-lg-12">
<h1 class="page-header">
<img class="logo" src="img/raspAP-logo.png" width="45" height="45">LokiAP
<img class="logo" src="img/raspAP-logo.png" width="45" height="45">LabyrinthAP
</h1>
</div>
</div><!-- /.row -->

@ -32,12 +32,12 @@ fi
# Outputs a RaspAP Install log line
function install_log() {
echo -e "\033[1;32mLokiAP Install: $*\033[m"
echo -e "\033[1;32mLabyrinthAP Install: $*\033[m"
}
# Outputs a RaspAP Install Error log line and exits with status code 1
function install_error() {
echo -e "\033[1;37;41mLokiAP Install Error: $*\033[m"
echo -e "\033[1;37;41mLabyrinthAP Install Error: $*\033[m"
exit 1
}
@ -122,7 +122,7 @@ function enable_php_lighttpd() {
# Verifies existence and permissions of RaspAP directory
function create_raspap_directories() {
install_log "Creating LokiAP directories"
install_log "Creating LabyrinthAP directories"
if [ -d "$raspap_dir" ]; then
sudo mv $raspap_dir "$raspap_dir.`date +%F-%R`" || install_error "Unable to move old '$raspap_dir' out of the way"
fi
@ -159,7 +159,7 @@ function download_latest_files() {
fi
install_log "Cloning latest files from github"
git clone --depth 1 https://github.com/necro-nemesis/Lokiap-webgui /tmp/raspap-webgui || install_error "Unable to download files from github"
git clone --depth 1 https://github.com/necro-nemesis/LabyrinthAP-webgui /tmp/raspap-webgui || install_error "Unable to download files from github"
sudo mv /tmp/raspap-webgui $webroot_dir || install_error "Unable to move raspap-webgui to web root"
}

@ -1,4 +1,4 @@
UPDATE_URL="https://raw.githubusercontent.com/necro-nemesis/Lokiap-webgui/master/"
UPDATE_URL="https://raw.githubusercontent.com/necro-nemesis/LabyrinthAP-webgui/master/"
wget -q ${UPDATE_URL}/installers/common.sh -O /tmp/raspapcommon.sh
source /tmp/raspapcommon.sh && rm -f /tmp/raspapcommon.sh

Loading…
Cancel
Save