summaryrefslogtreecommitdiffstats
path: root/etc/inc/services.inc
diff options
context:
space:
mode:
authorsullrich <sullrich@pfsense.org>2009-12-06 19:26:56 -0500
committersullrich <sullrich@pfsense.org>2009-12-06 19:26:56 -0500
commit7ea754a830976a57a3eb17bcf464d237dd321617 (patch)
tree0a39f674662dd17da2c37f48a3564566ef8da1ec /etc/inc/services.inc
parent55f681dd599832f29da8e60bd37e1475146eab16 (diff)
downloadpfsense-7ea754a830976a57a3eb17bcf464d237dd321617.zip
pfsense-7ea754a830976a57a3eb17bcf464d237dd321617.tar.gz
Adding script to parse dhcpd log file and populate /etc/hosts so that we can move to a newer dnsmasq. in addition, the current dnsmasq isc parsing is broken so there is not a choice to move either way. Ticket #79
Diffstat (limited to 'etc/inc/services.inc')
-rw-r--r--etc/inc/services.inc5
1 files changed, 4 insertions, 1 deletions
diff --git a/etc/inc/services.inc b/etc/inc/services.inc
index e47e351..8bb0a14 100644
--- a/etc/inc/services.inc
+++ b/etc/inc/services.inc
@@ -38,7 +38,10 @@
pfSense_MODULE: utils
*/
-/* include all configuration functions */
+function services_parse_dhcpd_hostnames() {
+ exec("kill `ps awux | grep isc | grep parse | awk '{ print $2 }'`");
+ mwexec_bg("sh /etc/rc.parse-isc-dhcpd");
+}
function services_dhcpd_configure() {
global $config, $g;
OpenPOWER on IntegriCloud