aboutsummaryrefslogtreecommitdiffstats
path: root/packages/tinydns
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2006-12-08 19:59:47 +0000
committerScott Ullrich <sullrich@pfsense.org>2006-12-08 19:59:47 +0000
commit51170243b0cd13bbe03622994dcd4d491ceb759c (patch)
treee9e05fe0b5a20bdc0e91cb7b97085077eb69a8f6 /packages/tinydns
parent85c3632a43d7b0b895edf55fc574db3e9e06ece5 (diff)
downloadpfsense-packages-51170243b0cd13bbe03622994dcd4d491ceb759c.tar.gz
pfsense-packages-51170243b0cd13bbe03622994dcd4d491ceb759c.tar.bz2
pfsense-packages-51170243b0cd13bbe03622994dcd4d491ceb759c.zip
* Item should be a checkbox
* Rehup cron after changes
Diffstat (limited to 'packages/tinydns')
-rw-r--r--packages/tinydns/tinydns.inc1
-rw-r--r--packages/tinydns/tinydns.xml2
2 files changed, 2 insertions, 1 deletions
diff --git a/packages/tinydns/tinydns.inc b/packages/tinydns/tinydns.inc
index 4a461181..b84859d5 100644
--- a/packages/tinydns/tinydns.inc
+++ b/packages/tinydns/tinydns.inc
@@ -131,6 +131,7 @@ function tinydns_custom_php_changeip_command() {
remove_text_from_file($filenamea, $text_1);
add_text_to_file($filenamea, $text_5);
}
+ exec("killall -HUP cron");
conf_mount_ro();
}
diff --git a/packages/tinydns/tinydns.xml b/packages/tinydns/tinydns.xml
index 0c675616..e1261f90 100644
--- a/packages/tinydns/tinydns.xml
+++ b/packages/tinydns/tinydns.xml
@@ -71,7 +71,7 @@
<fieldname>updatecron</fieldname>
<fielddescr>Update cron</fielddescr>
<description>Changes cron to ping hosts every minute from 5.</description>
- <type>input</type>
+ <type>checkbox</type>
</field>
<field>
<fieldname>minsegment</fieldname>