Révision 326238ce
Ajouté par Thomas Noël il y a plus de 9 ans
etc/inc/captiveportal.inc | ||
---|---|---|
454 | 454 |
$res = mwexec("/usr/local/sbin/lighttpd -f {$g['varetc_path']}/lighty-{$cpzone}-CaptivePortal-SSL.conf"); |
455 | 455 |
|
456 | 456 |
if ($cpcfg['auth_method'] == "saml") { |
457 |
$res = mwexec("/usr/local/univnautes/sp/rc.sh restart"); |
|
457 |
$res = mwexec_bg("/usr/local/univnautes/sp/rc.sh restart");
|
|
458 | 458 |
} |
459 | 459 |
} |
460 | 460 |
} |
usr/local/www/services_captiveportal_saml_federation.php | ||
---|---|---|
172 | 172 |
write_config(); |
173 | 173 |
|
174 | 174 |
/* reload federation (and geoinfos) */ |
175 |
mwexec("/usr/local/univnautes/sp/rc.sh syncdata"); |
|
175 |
mwexec_bg("/usr/local/univnautes/sp/rc.sh syncdata");
|
|
176 | 176 |
|
177 | 177 |
pfSenseHeader("services_captiveportal_saml_federation.php"); |
178 | 178 |
} |
usr/local/www/services_captiveportal_saml_sp.php | ||
---|---|---|
93 | 93 |
write_config(); |
94 | 94 |
|
95 | 95 |
/* relaunch SP */ |
96 |
mwexec("/usr/local/univnautes/sp/rc.sh restart"); |
|
96 |
mwexec_bg("/usr/local/univnautes/sp/rc.sh restart");
|
|
97 | 97 |
|
98 | 98 |
/* back to the page */ |
99 | 99 |
pfSenseHeader("services_captiveportal_saml_sp.php"); |
Formats disponibles : Unified diff
use rc.sh with mwexec_bg()