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.

12 lines
352 B

​
​
​
​
​
​
​
​
​
​
​
​
  1. <?php
  2. require_once( '/srv/scripts/sys_utils.php' );
  3. $SYS_CONFIG['PERIODIC_JOB_COUNTS']++;
  4. if( isset( $SYS_CONFIG['WIFI_MODE'] ) ){
  5. if( $SYS_CONFIG['WIFI_MODE'] == 1 ){
  6. if( $SYS_CONFIG['PERIODIC_JOB_COUNTS'] == 5 ){
  7. $L=`/srv/scripts/wifi_ap_off.sh`;
  8. $SYS_CONFIG['WIFI_IS_ON'] = false;
  9. save_system_config();
  10. };
  11. };
  12. };
  13. ?>