/dev/null &"); $start = "/usr/local/sbin/spamd-setup &\n" . "/sbin/pflogd" . "/sbin/mount_fdescfs fdescfs /dev/fd" . "/usr/local/libexec/spamlogd &"; "/usr/local/libexec/spamd -G 5:4:864 -g -d -b 127.0.0.1\n" . $stop = "/usr/bin/killall spamd-setup\n" . "/usr/bin/killall spamd\n" . "/usr/bin/killall mount_fdescfs" . "/usr/bin/killall spamlogd"; write_rcfile(array( "file" => "spamd.sh", "start" => $start, "stop" => $stop ) ); start_service("spamd"); } function custom_php_deinstall_command() { global $config, $g; unlink_if_exists("/usr/local/pkg/spamd.sh"); unlink_if_exists("/usr/local/pkg/pf/spamd_rules.php"); unlink_if_exists("/usr/local/www/spamd_rules.php"); } ?>