diff options
author | erkin <e.altunbas@vyos.io> | 2021-06-20 13:23:13 +0300 |
---|---|---|
committer | erkin <e.altunbas@vyos.io> | 2021-06-20 13:23:13 +0300 |
commit | 6d2c8fa45818eaac90c1dd46f2cd2bb2f4854140 (patch) | |
tree | d29918918958fc8178b9a01d939182fb0457b67d /scripts | |
parent | 34dc0fb63d7367ac61fc529411e97cf6df6d1812 (diff) | |
download | vyatta-cfg-system-6d2c8fa45818eaac90c1dd46f2cd2bb2f4854140.tar.gz vyatta-cfg-system-6d2c8fa45818eaac90c1dd46f2cd2bb2f4854140.zip |
T3506: Deprecate `loadkey`
Diffstat (limited to 'scripts')
-rwxr-xr-x | scripts/vyatta-load-user-key.pl | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/scripts/vyatta-load-user-key.pl b/scripts/vyatta-load-user-key.pl index 4655fbad..3896ca56 100755 --- a/scripts/vyatta-load-user-key.pl +++ b/scripts/vyatta-load-user-key.pl @@ -157,6 +157,8 @@ sub getkeys { } } +print "Warning: `loadkey' command has been deprecated.\nUse `generate public-key-command' instead.\n"; + die "Incorrect number of arguments, expect\n", " loadkey user filename|url\n" unless ($#ARGV == 1); |