summaryrefslogtreecommitdiff
path: root/debian/vyatta-op.postinst.in
diff options
context:
space:
mode:
authorStephen Hemminger <stephen.hemminger@vyatta.com>2008-02-28 12:09:43 -0800
committerStephen Hemminger <stephen.hemminger@vyatta.com>2008-02-28 12:09:43 -0800
commitfb828c7cf89d964482f1812eec0acd33708b8e0c (patch)
tree6e305d38851c21f2faebc2f57e7bbda3ba2a003a /debian/vyatta-op.postinst.in
parentc9d801042d0749c921c7c0f3232df796034889e3 (diff)
downloadvyatta-op-fb828c7cf89d964482f1812eec0acd33708b8e0c.tar.gz
vyatta-op-fb828c7cf89d964482f1812eec0acd33708b8e0c.zip
use sysfs rather dmidecode to look at hardware information
Bugfix: 2896 dmidecode requires sudo access, but using /sys/class/dmi/id/* does not.
Diffstat (limited to 'debian/vyatta-op.postinst.in')
-rw-r--r--debian/vyatta-op.postinst.in1
1 files changed, 0 insertions, 1 deletions
diff --git a/debian/vyatta-op.postinst.in b/debian/vyatta-op.postinst.in
index ac650fc..5b47eaa 100644
--- a/debian/vyatta-op.postinst.in
+++ b/debian/vyatta-op.postinst.in
@@ -6,7 +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
ln -sf /bin/ip ${bindir}/sudo-users/ip
ln -sf /opt/vyatta/bin/vyatta-show-interfaces.pl ${bindir}/sudo-users/vyatta-show-interfaces.pl