summaryrefslogtreecommitdiff
path: root/debian
diff options
context:
space:
mode:
authorAn-Cheng Huang <ancheng@vyatta.com>2007-12-05 14:01:46 -0800
committerAn-Cheng Huang <ancheng@vyatta.com>2007-12-05 14:01:46 -0800
commit1b7953907e3c6bb86b227e85485de48d490ea6bc (patch)
treeb31922c71f9c84e64cc6aa90c95252e487ddde63 /debian
parent39c6b2cb328ad2438a0eb6b6217715f80b2bda77 (diff)
downloadvyatta-op-1b7953907e3c6bb86b227e85485de48d490ea6bc.tar.gz
vyatta-op-1b7953907e3c6bb86b227e85485de48d490ea6bc.zip
fix "show tech-support" for "users"
Diffstat (limited to 'debian')
-rw-r--r--debian/vyatta-op.postinst.in2
-rw-r--r--debian/vyatta-op.postrm.in2
2 files changed, 4 insertions, 0 deletions
diff --git a/debian/vyatta-op.postinst.in b/debian/vyatta-op.postinst.in
index b95d509..4f0b3b4 100644
--- a/debian/vyatta-op.postinst.in
+++ b/debian/vyatta-op.postinst.in
@@ -6,4 +6,6 @@ bindir=@bindir@
# add symlinks for sudo
ln -sf /usr/sbin/ethtool ${bindir}/sudo-users/ethtool
+ln -sf /usr/sbin/dmidecode ${bindir}/sudo-users/dmidecode
+ln -sf /sbin/iptables ${bindir}/sudo-users/iptables
diff --git a/debian/vyatta-op.postrm.in b/debian/vyatta-op.postrm.in
index 75d77ca..f86a7ba 100644
--- a/debian/vyatta-op.postrm.in
+++ b/debian/vyatta-op.postrm.in
@@ -7,5 +7,7 @@ bindir=@bindir@
if [ "$1" = "purge" ]; then
# remove added symlinks
rm -f ${bindir}/sudo-users/ethtool
+ rm -f ${bindir}/sudo-users/dmidecode
+ rm -f ${bindir}/sudo-users/iptables
fi