From d9f8ff7e277105e34afaa9164517b03ff7675d76 Mon Sep 17 00:00:00 2001 From: Indrajit Raychaudhuri Date: Fri, 22 Sep 2023 12:29:22 -0500 Subject: ddclient: T5612: Adjust validator and completion for ddclient Adjust the validator and completion for ddclient to remove unsupported or superfluous protocols. Specifically, - remove 'nsupdate' protocol from the list because there is a separate config path for that protocol (rfc2136) - remove 'cloudns' protocol from the list because it has non standard configuration and is not supported by our configurator at this time --- src/completion/list_ddclient_protocols.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/completion/list_ddclient_protocols.sh') diff --git a/src/completion/list_ddclient_protocols.sh b/src/completion/list_ddclient_protocols.sh index 75fb0cf44..3b4eff4d6 100755 --- a/src/completion/list_ddclient_protocols.sh +++ b/src/completion/list_ddclient_protocols.sh @@ -14,4 +14,4 @@ # You should have received a copy of the GNU General Public License # along with this program. If not, see . -echo -n $(ddclient -list-protocols) +echo -n $(ddclient -list-protocols | grep -vE 'nsupdate|cloudns') -- cgit v1.2.3