Installer/Updater
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.
 
 
 
 

13 lines
352 B

<?php
require_once( '/srv/scripts/sys_utils.php' );
$SYS_CONFIG['PERIODIC_JOB_COUNTS']++;
if( isset( $SYS_CONFIG['WIFI_MODE'] ) ){
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();
};
};
};
?>