aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2010-08-01 12:53:57 -0400
committerScott Ullrich <sullrich@pfsense.org>2010-08-01 12:53:57 -0400
commit9d9c2665ffd819b58a7a7a9b705ca506eb14f0d6 (patch)
tree813db398c7192e32a54353991844fba93396efb7
parent381a448d1bc5fb00e56a4fff7fb6ea8e7faca0a1 (diff)
downloadpfsense-packages-9d9c2665ffd819b58a7a7a9b705ca506eb14f0d6.tar.gz
pfsense-packages-9d9c2665ffd819b58a7a7a9b705ca506eb14f0d6.tar.bz2
pfsense-packages-9d9c2665ffd819b58a7a7a9b705ca506eb14f0d6.zip
Note when svscan is not running and offer a URL to start
-rw-r--r--config/tinydns/tinydns.xml8
1 files changed, 6 insertions, 2 deletions
diff --git a/config/tinydns/tinydns.xml b/config/tinydns/tinydns.xml
index 25232d11..3067d324 100644
--- a/config/tinydns/tinydns.xml
+++ b/config/tinydns/tinydns.xml
@@ -320,7 +320,11 @@
tinydns_custom_php_deinstall_command();
tinydns_sync_on_changes();
</custom_php_deinstall_command>
- <custom_php_command_before_form>
- unset($_POST['temp']);
+ <custom_php_command_before_form>
+ <![CDATA[
+ unset($_POST['temp']);
+ if(!is_process_running("svscan"))
+ $savemsg = "NOTE: svscan is not running. Please <a href='/status_services.php?mode=restartservice&service=svscan'>start svscan</a> to bring up the DNS Server";
+ ]]>
</custom_php_command_before_form>
</packagegui>