aboutsummaryrefslogtreecommitdiffstats
path: root/packages
diff options
context:
space:
mode:
authorColin Smith <colin@pfsense.org>2005-06-26 04:29:35 +0000
committerColin Smith <colin@pfsense.org>2005-06-26 04:29:35 +0000
commit755518b69233c533e44effa26c614c39fd5e7b0d (patch)
tree970e991eb71b02136d33abe826ab08862f2bb289 /packages
parent89e09690017bd8577058b5031722938f18e1e1a4 (diff)
downloadpfsense-packages-755518b69233c533e44effa26c614c39fd5e7b0d.tar.gz
pfsense-packages-755518b69233c533e44effa26c614c39fd5e7b0d.tar.bz2
pfsense-packages-755518b69233c533e44effa26c614c39fd5e7b0d.zip
start -> restart
Diffstat (limited to 'packages')
-rw-r--r--packages/arpwatch.xml2
-rw-r--r--packages/doorman.xml3
2 files changed, 2 insertions, 3 deletions
diff --git a/packages/arpwatch.xml b/packages/arpwatch.xml
index e09ee66e..2f0c3cb3 100644
--- a/packages/arpwatch.xml
+++ b/packages/arpwatch.xml
@@ -41,7 +41,7 @@
"stop" => $stop
)
);
- start_service("arpwatch")
+ restart_service("arpwatch");
conf_mount_ro();
config_unlock();
}
diff --git a/packages/doorman.xml b/packages/doorman.xml
index 36b3f7fe..4e12cb6b 100644
--- a/packages/doorman.xml
+++ b/packages/doorman.xml
@@ -96,8 +96,7 @@
if($_POST['checkdelay'] != "") fwrite($fout, "connection_delay_2 " . $_POST['checkdelay'] . "\n");
fwrite($fout, "pidfile /var/run/doormand.pid\nlogfile /var/log/messages\nloglevel NOTICE\nguestlist /usr/local/etc/doormand/guestlist\nfirewall-add /usr/local/etc/doormand/pfctl_add\nfirewall-del /usr/local/etc/doormand/pfctl_del\ntag-queue-length 100000\ntag-queue /var/doorman_tag_queue\ntag-db /var/doorman_tag_db.db\n");
fclose($fout);
- mwexec("killall doormand");
- mwexec("/usr/local/etc/rc.d/doormand.sh");
+ restart_service("doorman");
conf_mount_ro();
config_unlock();
}