summaryrefslogtreecommitdiff
path: root/scripts/is_port_available.pl
diff options
context:
space:
mode:
authorDaniil Baturin <daniil@vyos.io>2021-01-08 01:39:42 +0200
committerDaniil Baturin <daniil@vyos.io>2021-01-08 01:45:34 +0200
commitac2586bc6471a141203e21ec3bfe97bfbcad6672 (patch)
treedd4f7d6c84e00e18e025a8f4ca43eeefa7731832 /scripts/is_port_available.pl
parentcc36c93479d954ac6ab5454c2d25e86edbc57c61 (diff)
downloadvyatta-cfg-system-ac2586bc6471a141203e21ec3bfe97bfbcad6672.tar.gz
vyatta-cfg-system-ac2586bc6471a141203e21ec3bfe97bfbcad6672.zip
T671: remove apparently unused scripts.
Diffstat (limited to 'scripts/is_port_available.pl')
-rwxr-xr-xscripts/is_port_available.pl14
1 files changed, 0 insertions, 14 deletions
diff --git a/scripts/is_port_available.pl b/scripts/is_port_available.pl
deleted file mode 100755
index acf3e6e3..00000000
--- a/scripts/is_port_available.pl
+++ /dev/null
@@ -1,14 +0,0 @@
-#!/usr/bin/perl
-# Check to see if the supplied IPv4 or IPv6 address is an existing local address
-
-use strict;
-use lib "/opt/vyatta/share/perl5";
-use Vyatta::Misc;
-
-my $port = $ARGV[0];
-
-if(!defined($port) || !is_port_available($port)) {
- exit 1;
-} else {
- exit 0;
-} \ No newline at end of file