summaryrefslogtreecommitdiff
path: root/debian/vyatta-cfg-system.postinst.in
diff options
context:
space:
mode:
authorStig Thormodsrud <stig@vyatta.com>2009-10-31 13:22:42 -0700
committerStig Thormodsrud <stig@vyatta.com>2009-10-31 13:22:42 -0700
commitb817fa2eb752bc1f4a8d3c97b7749d003c2bb7d4 (patch)
tree54c329d60fc947e7562759bebcd8cd8b24ac7be8 /debian/vyatta-cfg-system.postinst.in
parent1b8212fe55cc9d83601acc52b43d3e7116542eda (diff)
parent1f5174a65f21d1280827d7fb911232f4bfc56eb7 (diff)
downloadvyatta-cfg-quagga-b817fa2eb752bc1f4a8d3c97b7749d003c2bb7d4.tar.gz
vyatta-cfg-quagga-b817fa2eb752bc1f4a8d3c97b7749d003c2bb7d4.zip
Merge branch 'kenwood' of http://git.vyatta.com/vyatta-cfg-system into kenwood
Diffstat (limited to 'debian/vyatta-cfg-system.postinst.in')
-rw-r--r--debian/vyatta-cfg-system.postinst.in11
1 files changed, 9 insertions, 2 deletions
diff --git a/debian/vyatta-cfg-system.postinst.in b/debian/vyatta-cfg-system.postinst.in
index 1a9f0bd5..95fcd1ca 100644
--- a/debian/vyatta-cfg-system.postinst.in
+++ b/debian/vyatta-cfg-system.postinst.in
@@ -6,8 +6,10 @@ sysconfdir=@sysconfdir@
bindir=@bindir@
sbindir=@sbindir@
-# remove init of daemons that we start/stop
-for init in ntp ssh snmpd openhpid vyatta-keepalived ipvsadm dnsmasq ddclient; do
+# remove init of daemons that are controlled by Vyatta configuration process
+for init in ntp ssh snmpd openhpid \
+ vyatta-keepalived ipvsadm dnsmasq ddclient radvd
+do
update-rc.d -f ${init} remove >/dev/null
done
@@ -115,6 +117,7 @@ EOF
cp $sysconfdir/$f /etc/$f
fi
done
+
fi
# update crontab for logrotate
@@ -124,6 +127,7 @@ rm /etc/crontab
mv /etc/crontab.$$ /etc/crontab
crontab /etc/crontab
+
# create needed directories
mkdir -p /var/log/user
@@ -144,6 +148,9 @@ update-rc.d -f ssh remove >/dev/null
# for password
sed -i 's/requisite[ \t][ \t]*pam_securetty.so/required pam_securetty.so/' $rootfsdir/etc/pam.d/login
+# Install pamradius config (should come with radius client eventually)
+cp $sysconfdir/pam-radius /usr/share/pam-configs/radius
+
[ grep "blacklist.*snd-pcsp" >&/dev/null ] || echo "blacklist snd-pcsp" >>/etc/modprobe.d/blacklist
#