Diagnostics: Darkstat Darkstat 3.0 Darkstat Settings Setup darkstat specific settings
Diagnostics
/pkg_edit.php?xml=darkstat.xml&id=0
darkstat darkstat.sh darkstat Darkstat Settings /pkg_edit.php?xml=darkstat.xml&id=0 Access Darkstat http://$myurl:666 Interface interface_array lan true 3 interfaces_selection function sync_package_darkstat() { $first = 0; foreach($_POST['interface_array'] as $iface) { $if = convert_friendly_interface_to_real_interface_name($iface); if($if) { $ifaces_final .= " -i " . $if; $first = 1; } } $start = "/usr/local/sbin/darkstat" . $ifaces_final . " -p 666 -D"; write_rcfile(array( "file" => "darkstat.sh", "start" => $start, "stop" => "/usr/bin/killall darkstat" ) ); start_service("darkstat"); } sync_package_darkstat(); sync_package_darkstat();