aboutsummaryrefslogtreecommitdiffstats
path: root/packages/tinydns
diff options
context:
space:
mode:
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>