X-Git-Url: http://dxcluster.net/gitweb/gitweb.cgi?a=blobdiff_plain;ds=sidebyside;f=cmd%2Funset%2Fstartup.pl;fp=cmd%2Funset%2Fstartup.pl;h=36ee830d4844b726a8da3952fd9ea14e8c2d9093;hb=fe4f4e3751da3786d25df2fe2fba104523de095d;hp=0000000000000000000000000000000000000000;hpb=168689554677c7f1480d6f1161ee371e12548e6b;p=spider.git diff --git a/cmd/unset/startup.pl b/cmd/unset/startup.pl new file mode 100644 index 00000000..36ee830d --- /dev/null +++ b/cmd/unset/startup.pl @@ -0,0 +1,16 @@ +# +# remove a startup script +# +# Copyright (c) 2005 Dirk Koopman G1TLH +# +# $Id$ +# +my ($self, $line) = @_; +return (1, $self->msg('e5')) if $self->remotecmd; +return (1, $self->msg('e5')) if $line && $self->priv < 5; + +my @out; + +Script::erase($line || $self->call); +push @out, $self->msg('done'); +return (1, @out);