From 49728c2156cf9a8c6aed03c1484a6664c11283aa Mon Sep 17 00:00:00 2001 From: Jonathan McDowell Date: Wed, 15 Jun 2005 10:41:54 +0000 Subject: [PATCH] cscvs to tla changeset 15 Author: noodles Date: 2005/06/15 10:26:25 Add help for MASTER command. git-archimport-id: noodles@earth.li--pie/autodns--mainline--1.0--patch-14 --- autodns.pl | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/autodns.pl b/autodns.pl index 5aba950..67beb7a 100755 --- a/autodns.pl +++ b/autodns.pl @@ -5,7 +5,7 @@ # http://www.earth.li/projectpurple/progs/autodns.html # Released under the GPL. # -# $Id: autodns.pl,v 1.14 2005/06/15 10:14:28 noodles Exp $ +# $Id: autodns.pl,v 1.15 2005/06/15 10:26:25 noodles Exp $ # use strict; @@ -501,6 +501,10 @@ zone \"$domain\" { print REPLY "LIST - show all the zones currently held by you.\n"; print REPLY "ADD - adds the domain for processing.\n"; print REPLY "DEL - removes the domain if you own it.\n"; + if (($priv & 1) == 1) { + print REPLY "MASTER - set the nameserver". + " we should slave off for subsequent ADD commands.\n"; + } } elsif ($inprocess) { print REPLY "Unknown command!\n"; } -- 2.39.2