summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorerkin <e.altunbas@vyos.io>2021-06-20 13:23:13 +0300
committererkin <e.altunbas@vyos.io>2021-06-20 13:23:13 +0300
commit6d2c8fa45818eaac90c1dd46f2cd2bb2f4854140 (patch)
treed29918918958fc8178b9a01d939182fb0457b67d /scripts
parent34dc0fb63d7367ac61fc529411e97cf6df6d1812 (diff)
downloadvyatta-cfg-system-6d2c8fa45818eaac90c1dd46f2cd2bb2f4854140.tar.gz
vyatta-cfg-system-6d2c8fa45818eaac90c1dd46f2cd2bb2f4854140.zip
T3506: Deprecate `loadkey`
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/vyatta-load-user-key.pl2
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);