Skip to content

Commit

Permalink
add cmdToRemove
Browse files Browse the repository at this point in the history
  • Loading branch information
Sekiro-kost committed Aug 21, 2024
1 parent 4a1c17b commit ce40b11
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion desktop/php/luna.php
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@
<li role="presentation"><a href="#wifitab" aria-controls="home" role="tab" data-toggle="tab"><i class="fas fa-wifi"></i> {{WIFI}}</a></li>
<li role="presentation"><a href="#ethernettab" aria-controls="home" role="tab" data-toggle="tab"><i class="fas fa-network-wired"></i> {{Ethernet}}</a></li>
<?php
if($isLte == 'LTE'){
if($isLte !== 'LTE'){
echo '<li role="presentation"><a href="#LTEtab" aria-controls="home" role="tab" data-toggle="tab"><i class="fas fa-signal" ></i> {{LTE}}</a></li>';
}
?>
Expand Down
3 changes: 2 additions & 1 deletion plugin_info/install.php
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,10 @@
require_once dirname(__FILE__) . '/../../../core/php/core.inc.php';


$cmdsToRemove = array('ssid2', 'isconnect2', 'connect2', 'disconnect2', 'wifiip2');


function luna_install() {
$cmdsToRemove = array('ssid2', 'isconnect2', 'connect2', 'disconnect2', 'wifiip2');
config::save('isLte', 'NOLTE', 'luna');
luna::patchLuna('install');
$eqLogic = luna::byLogicalId('wifi', 'luna');
Expand Down

0 comments on commit ce40b11

Please sign in to comment.