Skip to content

Commit

Permalink
minor fix
Browse files Browse the repository at this point in the history
  • Loading branch information
xtr4nge committed Jul 28, 2018
1 parent 91525a8 commit d3b9bb2
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion _info_.php
Original file line number Diff line number Diff line change
Expand Up @@ -26,5 +26,5 @@

# ISUP
//$mod_isup="$bin_danger \"/usr/share/fruitywifi/www/modules/$mod_name/includes/hostapd_cli -p /var/run/hostapd karma_get_state | tail -1 | grep 'KARMA EN'\"";
$mod_isup="$bin_sudo /usr/share/fruitywifi/www/modules/$mod_name/includes/hostapd_cli -p /var/run/hostapd karma_get_state | tail -1 | grep 'KARMA EN'";
$mod_isup="$bin_sudo /usr/share/fruitywifi/www/modules/$mod_name/includes/hostapd_cli -p /var/run/hostapd mana_get_state | tail -1 | grep 'MANA EN'";
?>
6 changes: 3 additions & 3 deletions includes/module_action.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?
/*
Copyright (C) 2013-2016 xtr4nge [_AT_] gmail.com
Copyright (C) 2013-2018 xtr4nge [_AT_] gmail.com
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
Expand Down Expand Up @@ -47,12 +47,12 @@
exec_fruitywifi($exec);
}

$exec = "./hostapd_cli -p /var/run/hostapd karma_enable";
$exec = "./hostapd_cli -p /var/run/hostapd mana_enable";
exec_fruitywifi($exec);

} else if($action == "stop") {
// STOP MODULE
$exec = "./hostapd_cli -p /var/run/hostapd karma_disable";
$exec = "./hostapd_cli -p /var/run/hostapd mana_disable";
exec_fruitywifi($exec);

// COPY LOG
Expand Down

0 comments on commit d3b9bb2

Please sign in to comment.