summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStephen Hemminger <stephen.hemminger@vyatta.com>2010-03-15 11:10:23 -0700
committerStephen Hemminger <stephen.hemminger@vyatta.com>2010-03-15 11:10:23 -0700
commit00da1455d0f35193aa6aae2d7e74edb48971e778 (patch)
treefe9b2a703b28246d52f0caf86bf662d3e594bef5
parent90ce946ad7adec23d2c0a7aadb1997ebf49b5fbf (diff)
downloadvyatta-cfg-system-00da1455d0f35193aa6aae2d7e74edb48971e778.tar.gz
vyatta-cfg-system-00da1455d0f35193aa6aae2d7e74edb48971e778.zip
Remove Radius Server config file on reboot
The radius server config file needs to be removed. It gets rebuilt later in config process.
-rwxr-xr-xscripts/rl-system.init1
1 files changed, 1 insertions, 0 deletions
diff --git a/scripts/rl-system.init b/scripts/rl-system.init
index 607bbb45..e7eaed14 100755
--- a/scripts/rl-system.init
+++ b/scripts/rl-system.init
@@ -171,6 +171,7 @@ setup_ntp_config_file () {
# system defaults.
security_reset () {
# restore PAM back to virgin state (no radius other services)
+ rm -f /etc/pam_radius_auth.conf
if grep -q radius /etc/pam.d/common-auth
then pam-auth-update --remove radius
fi