From 46c906a48aad57d0384c60d4021b5fd92c328f26 Mon Sep 17 00:00:00 2001 From: slioch Date: Thu, 15 Oct 2009 13:18:08 -0700 Subject: partial fix for bug 4903. --- templates/service/dns/dynamic/node.def | 1 + templates/service/dns/forwarding/node.def | 1 + templates/service/node.def | 1 + templates/service/ssh/node.def | 1 + templates/service/telnet/node.def | 1 + 5 files changed, 5 insertions(+) (limited to 'templates/service') diff --git a/templates/service/dns/dynamic/node.def b/templates/service/dns/dynamic/node.def index 99356334..54615bea 100644 --- a/templates/service/dns/dynamic/node.def +++ b/templates/service/dns/dynamic/node.def @@ -1,2 +1,3 @@ +priority: 919 help: Configure Dynamic DNS commit:expression: $VAR(./interface/@@) != ""; "At least one interface must be set to send DDNS updates for" diff --git a/templates/service/dns/forwarding/node.def b/templates/service/dns/forwarding/node.def index 12d7bb51..2c42b1c3 100644 --- a/templates/service/dns/forwarding/node.def +++ b/templates/service/dns/forwarding/node.def @@ -1,3 +1,4 @@ +priority: 918 help: Configure DNS forwarding commit:expression: $VAR(./listen-on) != ""; "At least one interface must be configured for DNS forwarding parameter 'listen-on'" delete:expression: "touch /tmp/dnsmasq.$PPID" diff --git a/templates/service/node.def b/templates/service/node.def index a2441db9..e9040da1 100644 --- a/templates/service/node.def +++ b/templates/service/node.def @@ -1 +1,2 @@ +priority: 900 help: Configure specified service diff --git a/templates/service/ssh/node.def b/templates/service/ssh/node.def index dbe32a6f..ecf54e41 100644 --- a/templates/service/ssh/node.def +++ b/templates/service/ssh/node.def @@ -1,3 +1,4 @@ +priority: 915 help: Enable/disable Secure SHell (SSH) protocol delete:sudo /usr/sbin/invoke-rc.d ssh stop sudo sh -c "echo 'SSHD_OPTS=' > /etc/default/ssh" diff --git a/templates/service/telnet/node.def b/templates/service/telnet/node.def index eefb3b4a..9b2814aa 100644 --- a/templates/service/telnet/node.def +++ b/templates/service/telnet/node.def @@ -1,3 +1,4 @@ +priority: 916 help: Enable/disable Network Virtual Terminal Protocol (TELNET) protocol create: touch /tmp/vyatta-telnet.$PPID delete: /opt/vyatta/sbin/vyatta_update_telnet disable -- cgit v1.2.3