Page modem Miotiq: script check PDP user-friendly avec logs raw en collapse
- Nouveau script SARA/sara_check_pdp.py: vérifie si PDP est déjà actif avant d'agir - Si PDP actif: affiche OK + IP sans toucher à la config - Si PDP inactif: active automatiquement + affiche résultat - Logs AT bruts accessibles via bouton collapse - Endpoint launcher.php sara_check_pdp Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -395,6 +395,12 @@ if ($type == "sara_test_udp") {
|
||||
echo $output;
|
||||
}
|
||||
|
||||
if ($type == "sara_check_pdp") {
|
||||
$command = 'sudo /usr/bin/python3 -u /var/www/nebuleair_pro_4g/SARA/sara_check_pdp.py';
|
||||
$output = shell_exec($command);
|
||||
echo $output;
|
||||
}
|
||||
|
||||
|
||||
if ($type == "git_pull") {
|
||||
$command = 'sudo git pull';
|
||||
|
||||
Reference in New Issue
Block a user