mirror of
https://github.com/jokob-sk/NetAlertX.git
synced 2025-12-07 09:36:05 -08:00
cleanup + moving arp-scan setting
This commit is contained in:
@@ -559,25 +559,6 @@ function PiaEnableDarkmode() {
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
//------------------------------------------------------------------------------
|
||||
// Toggle on/off Arp-Scans
|
||||
//------------------------------------------------------------------------------
|
||||
function PiaToggleArpScan() {
|
||||
$file = '../../../db/setting_stoparpscan';
|
||||
global $pia_lang;
|
||||
|
||||
if (file_exists($file)) {
|
||||
echo lang('BackDevices_Arpscan_enabled');
|
||||
unlink($file);
|
||||
echo("<meta http-equiv='refresh' content='1'>");
|
||||
} else {
|
||||
echo lang('BackDevices_Arpscan_disabled');
|
||||
$startarpscan = fopen($file, 'w');
|
||||
echo("<meta http-equiv='refresh' content='1'>");
|
||||
}
|
||||
}
|
||||
|
||||
//------------------------------------------------------------------------------
|
||||
// Query total numbers of Devices by status
|
||||
//------------------------------------------------------------------------------
|
||||
|
||||
@@ -276,4 +276,3 @@ if ($ENABLED_DARKMODE === True) {
|
||||
|
||||
|
||||
</script>
|
||||
|
||||
|
||||
@@ -438,6 +438,8 @@ $lang['en_us'] = array(
|
||||
'settings_imported' => 'Last time settings were imported from the pialert.conf file:',
|
||||
|
||||
//General
|
||||
'ENABLE_ARPSCAN_name' => 'Enable ARP scan',
|
||||
'ENABLE_ARPSCAN_description' => 'Arp-scan is a command-line tool that uses the ARP protocol to discover and fingerprint IP hosts on the local network. An alternative to ARP scan is to enable the <a href="#PIHOLE_ACTIVE"><code>PIHOLE_ACTIVE</code>PiHole integration settings</a>.',
|
||||
'SCAN_SUBNETS_name' => 'Subnets to scan',
|
||||
'SCAN_SUBNETS_description' => '
|
||||
|
||||
|
||||
Reference in New Issue
Block a user