Increased sleep value

This commit is contained in:
billz 2019-03-07 22:12:38 +00:00
parent 192a849cd5
commit 6cf96fd65d

View file

@ -28,9 +28,9 @@ function DisplayHostAPDConfig()
if (CSRFValidate()) {
$status->addMessage('Attempting to start hotspot', 'info');
if ($arrHostapdConf['WifiAPEnable'] == 1) {
exec('sudo /etc/raspap/hostapd/servicestart.sh --interface uap0 --seconds 3', $return );
exec('sudo /etc/raspap/hostapd/servicestart.sh --interface uap0 --seconds 5', $return );
} else {
exec( 'sudo /etc/raspap/hostapd/servicestart.sh --seconds 3', $return );
exec( 'sudo /etc/raspap/hostapd/servicestart.sh --seconds 5', $return );
}
foreach( $return as $line ) {
$status->addMessage($line, 'info');