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
357 B

4 years ago
​
​
​
​
​
​
​
​
​
​
​
​
  1. <?php
  2. require_once('/srv/scripts/sys_utils.php');
  3. unset( $SYS_CONFIG['NET_INFO'] );
  4. unset( $SYS_CONFIG['NET_CONFIG'] );
  5. $SYS_CONFIG['NET_CONFIG'] = get_network_config();
  6. $TD = get_SERVICE_STATUS( 'smbd' );
  7. $SYS_CONFIG['SAMBA_IS_ON'] = $TD['ENA'];
  8. $SYS_CONFIG['ARGUS_CONFIG'] = get_argus_config();
  9. save_system_config();
  10. ?>