summaryrefslogtreecommitdiff
path: root/debian/vyatta-cfg-system.postinst.in
diff options
context:
space:
mode:
authorStephen Hemminger <stephen.hemminger@vyatta.com>2008-10-07 17:13:07 +0200
committerStephen Hemminger <stephen.hemminger@vyatta.com>2008-10-07 17:13:07 +0200
commitd9a65a4f20304c60fbf1b112f0f763155437596f (patch)
tree721e27876f75f5a8a4e875e7f640a809a0a54ce9 /debian/vyatta-cfg-system.postinst.in
parent7232e04d5d021f60e4cf6463328c165f19d56c6c (diff)
parent41a724bb81b713ab86430c34ccbc9171cdd9d4d0 (diff)
downloadvyatta-cfg-system-d9a65a4f20304c60fbf1b112f0f763155437596f.tar.gz
vyatta-cfg-system-d9a65a4f20304c60fbf1b112f0f763155437596f.zip
Merge branch 'islavista' of suva.vyatta.com:/git/vyatta-cfg-system into islavista
Diffstat (limited to 'debian/vyatta-cfg-system.postinst.in')
-rw-r--r--debian/vyatta-cfg-system.postinst.in3
1 files changed, 2 insertions, 1 deletions
diff --git a/debian/vyatta-cfg-system.postinst.in b/debian/vyatta-cfg-system.postinst.in
index 925edcb5..868029d5 100644
--- a/debian/vyatta-cfg-system.postinst.in
+++ b/debian/vyatta-cfg-system.postinst.in
@@ -60,7 +60,7 @@ Cmnd_Alias DATE = /bin/date, /usr/sbin/ntpdate
Cmnd_Alias PPPOE_CMDS = /sbin/pppd, /sbin/poff
Cmnd_Alias PCAPTURE = /usr/bin/tshark, /usr/bin/tcpdump
%operator ALL=NOPASSWD: /sbin/reboot, DATE, IPTABLES, ETHTOOLP, IPFLUSH, \
- PPPOE_CMDS, PCAPTURE, /usr/sbin/wanpipemon
+ PPPOE_CMDS, PCAPTURE, /usr/sbin/wanpipemon, /usr/bin/lsof
EOF
cat <<EOF >>/etc/sudoers
%users ALL=NOPASSWD: ${bindir}/sudo-users/
@@ -91,6 +91,7 @@ sed -i 's/^set /builtin set /' /etc/bash_completion
# for password
sed -i 's/requisite[ \t][ \t]*pam_securetty.so/required pam_securetty.so/' $rootfsdir/etc/pam.d/login
+[ grep "blacklist.*snd-pcsp" >&/dev/null ] || echo "blacklist snd-pcsp" >>/etc/modprobe.d/blacklist
# Local Variables:
# mode: shell-script