You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
11 lines
306 B
11 lines
306 B
<?php
|
|
require_once( '/srv/scripts/sys_utils.php' );
|
|
$SYS_CONFIG['PERIODIC_JOB_COUNTS']++;
|
|
if( $SYS_CONFIG['WIFI_MODE'] == 1 ){
|
|
if( $SYS_CONFIG['PERIODIC_JOB_COUNTS'] == 5 ){
|
|
$L=`/srv/scripts/wifi_ap_off.sh`;
|
|
$SYS_CONFIG['WIFI_IS_ON'] = false;
|
|
};
|
|
};
|
|
save_system_config();
|
|
?>
|