diff options
| author | Christian Poessinger <christian@poessinger.com> | 2021-01-08 17:56:37 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-01-08 17:56:37 +0100 |
| commit | 8c81230819a1bde768a5948328232c5def0af0fd (patch) | |
| tree | dd4f7d6c84e00e18e025a8f4ca43eeefa7731832 /scripts/is_port_available.pl | |
| parent | cc36c93479d954ac6ab5454c2d25e86edbc57c61 (diff) | |
| parent | ac2586bc6471a141203e21ec3bfe97bfbcad6672 (diff) | |
| download | vyatta-cfg-system-8c81230819a1bde768a5948328232c5def0af0fd.tar.gz vyatta-cfg-system-8c81230819a1bde768a5948328232c5def0af0fd.zip | |
Merge pull request #136 from dmbaturin/remove-unused-scripts
T671: remove apparently unused scripts.
Diffstat (limited to 'scripts/is_port_available.pl')
| -rwxr-xr-x | scripts/is_port_available.pl | 14 |
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 |
