summaryrefslogtreecommitdiff
path: root/scripts/rl-system.init
diff options
context:
space:
mode:
authorStig Thormodsrud <stig@vyatta.com>2009-11-02 18:31:18 -0800
committerStig Thormodsrud <stig@vyatta.com>2009-11-02 18:31:18 -0800
commit1b9a722a77305bfc607a5a34317fbc743d2ae4bb (patch)
tree1a2dbccb40c30e6f151aeb6e139f62ad54e8c81a /scripts/rl-system.init
parenta6ead18568860f4a574325198ecfe188c69eda28 (diff)
parent4b6feb5e30012862b6a91578914ef2194d242f31 (diff)
downloadvyatta-cfg-quagga-1b9a722a77305bfc607a5a34317fbc743d2ae4bb.tar.gz
vyatta-cfg-quagga-1b9a722a77305bfc607a5a34317fbc743d2ae4bb.zip
Merge branch 'kenwood' of http://git.vyatta.com/vyatta-cfg-system into kenwood
Diffstat (limited to 'scripts/rl-system.init')
-rwxr-xr-xscripts/rl-system.init6
1 files changed, 6 insertions, 0 deletions
diff --git a/scripts/rl-system.init b/scripts/rl-system.init
index 3ca02ed2..2cca5d98 100755
--- a/scripts/rl-system.init
+++ b/scripts/rl-system.init
@@ -169,6 +169,11 @@ setup_ntp_config_file () {
log_failure_msg "NTP template config file doesn\'t exist"
fi
}
+
+# restore PAM back to virgin state (no radius other services)
+pam_reset () {
+ DEBIAN_FRONTEND=noninteractive pam-auth-update unix
+}
start () {
udev_rescan
@@ -182,6 +187,7 @@ start () {
sysctl -q -e -p /opt/vyatta/etc/vyatta-sysctl.conf ||
log_failure_msg "can\'t configure kernel settings"
set_ipv6_params
+ pam_reset
update_version_info
## Clear out apt config file--it will be filled in by rtrmgr