From 04ae0b52c9960d27a1af733284e2fd75f9801a60 Mon Sep 17 00:00:00 2001 From: Stephen Hemminger Date: Wed, 2 Dec 2009 16:14:58 -0800 Subject: Don't lose user customization to pam-auth Don't pass --force flag to pam-auth-update, so if user has customized file, then radius config will stay. --- scripts/rl-system.init | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/rl-system.init b/scripts/rl-system.init index b2012211..ed26301e 100755 --- a/scripts/rl-system.init +++ b/scripts/rl-system.init @@ -34,6 +34,7 @@ source /etc/default/vyatta [[ $PATH == *${vyatta_sbindir}* ]] || PATH+=:${vyatta_sbindir} export PATH +export DEBIAN_FRONTEND=noninteractive . /lib/lsb/init-functions @@ -173,8 +174,7 @@ setup_ntp_config_file () { # restore PAM back to virgin state (no radius other services) pam_reset () { if grep -q radius /etc/pam.d/common-auth - then DEBIAN_FRONTEND=noninteractive \ - pam-auth-update --force --remove radius + then pam-auth-update --remove radius fi } -- cgit v1.2.3