normalize file naming

This commit is contained in:
2016-02-22 09:12:58 -05:00
parent eb7592d206
commit 1a0768b779
3 changed files with 3 additions and 3 deletions

14
bin/del-vhost Executable file
View File

@ -0,0 +1,14 @@
#!/usr/bin/perl
use strict;
use warnings;
use Martnet::DDNS;
use Regexp::Common qw/net/;
my $host = shift || die "No vhost provided";
die "Hostname must end in a dot"
unless ($host =~ /^[a-zA-Z0-9\.]+\.$/);
my $ddns = Martnet::DDNS->new();
$ddns->delvhost($host);