diff options
-rwxr-xr-x | scripts/vyatta-save-config.pl | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/scripts/vyatta-save-config.pl b/scripts/vyatta-save-config.pl index 9c973d9..9f1ec5c 100755 --- a/scripts/vyatta-save-config.pl +++ b/scripts/vyatta-save-config.pl @@ -57,9 +57,13 @@ if ($save_file =~ /^[^\/]\w+:\//) { if ($save_file =~ /^(\w+):\/\/\w/) { $mode = 'url'; $proto = lc($1); - if ($proto eq "scp") {} + if ($proto eq "ftp") {} + elsif ($proto eq "ftps") {} + elsif ($proto eq "http") {} + elsif ($proto eq "https") {} + elsif ($proto eq "scp") {} elsif ($proto eq "sftp") {} - elsif ($proto eq "ftp") {} + elsif ($proto eq "ssh") {} elsif ($proto eq "tftp") {} else { print "Invalid URL protocol [$proto]\n"; |