summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorStephen Hemminger <stephen.hemminger@vyatta.com>2009-11-02 17:11:15 -0800
committerStephen Hemminger <stephen.hemminger@vyatta.com>2009-11-02 17:17:17 -0800
commit21a8c369143564e71bf33a760082499cbf45f8dd (patch)
treeba03d41cc734198e505b0448d1e61da6f46d73cb /lib
parentd07ddbc5b98f739bebc8fd7ecdf2a6a6fe5d8375 (diff)
downloadvyatta-cfg-system-21a8c369143564e71bf33a760082499cbf45f8dd.tar.gz
vyatta-cfg-system-21a8c369143564e71bf33a760082499cbf45f8dd.zip
Don't want/need --package option to pam-auth-update
Diffstat (limited to 'lib')
-rw-r--r--lib/Vyatta/Login/RadiusServer.pm4
1 files changed, 2 insertions, 2 deletions
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 {