From 21a8c369143564e71bf33a760082499cbf45f8dd Mon Sep 17 00:00:00 2001 From: Stephen Hemminger Date: Mon, 2 Nov 2009 17:11:15 -0800 Subject: Don't want/need --package option to pam-auth-update --- lib/Vyatta/Login/RadiusServer.pm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'lib/Vyatta/Login') diff --git a/lib/Vyatta/Login/RadiusServer.pm b/lib/Vyatta/Login/RadiusServer.pm index 43f78f90..f8b67830 100644 --- a/lib/Vyatta/Login/RadiusServer.pm +++ b/lib/Vyatta/Login/RadiusServer.pm @@ -29,12 +29,12 @@ my $PAM_RAD_END = '# END Vyatta Radius servers'; sub remove_pam_radius { return system("sudo DEBIAN_FRONTEND=noninteractive" - . " pam-auth-update --package --remove radius") == 0; + . " pam-auth-update --remove radius") == 0; } sub add_pam_radius { return system("sudo DEBIAN_FRONTEND=noninteractive" - . " pam-auth-update --package --add radius") == 0; + . " pam-auth-update radius") == 0; } sub update { -- cgit v1.2.3