summaryrefslogtreecommitdiff
path: root/scripts/rl-system.init
diff options
context:
space:
mode:
authorStephen Hemminger <stephen.hemminger@vyatta.com>2009-12-02 16:14:58 -0800
committerStephen Hemminger <stephen.hemminger@vyatta.com>2009-12-02 16:14:58 -0800
commit04ae0b52c9960d27a1af733284e2fd75f9801a60 (patch)
treeee131940b67e722299370ac1d5c790fc22a9ceae /scripts/rl-system.init
parentf64584a0b3595ceddccd5707406c5ac27ef26d9f (diff)
downloadvyatta-cfg-system-04ae0b52c9960d27a1af733284e2fd75f9801a60.tar.gz
vyatta-cfg-system-04ae0b52c9960d27a1af733284e2fd75f9801a60.zip
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.
Diffstat (limited to 'scripts/rl-system.init')
-rwxr-xr-xscripts/rl-system.init4
1 files 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
}