summaryrefslogtreecommitdiff
path: root/debian/vyatta-op.postinst.in
diff options
context:
space:
mode:
authorAn-Cheng Huang <ancheng@vyatta.com>2007-12-05 11:26:03 -0800
committerAn-Cheng Huang <ancheng@vyatta.com>2007-12-05 11:26:03 -0800
commit2f9ea52c4ed0415509dcdd8c786da773cefc041b (patch)
tree983ec2405e31c207be997a1934a2b617af4e4cca /debian/vyatta-op.postinst.in
parent4dbba52a5b7e97d55ea7c4f957f594204350b9b2 (diff)
downloadvyatta-op-2f9ea52c4ed0415509dcdd8c786da773cefc041b.tar.gz
vyatta-op-2f9ea52c4ed0415509dcdd8c786da773cefc041b.zip
use symlink instead of wrapper for ethtool
Diffstat (limited to 'debian/vyatta-op.postinst.in')
-rw-r--r--debian/vyatta-op.postinst.in9
1 files changed, 9 insertions, 0 deletions
diff --git a/debian/vyatta-op.postinst.in b/debian/vyatta-op.postinst.in
new file mode 100644
index 0000000..b95d509
--- /dev/null
+++ b/debian/vyatta-op.postinst.in
@@ -0,0 +1,9 @@
+#!/bin/bash
+
+prefix=@prefix@
+exec_prefix=@exec_prefix@
+bindir=@bindir@
+
+# add symlinks for sudo
+ln -sf /usr/sbin/ethtool ${bindir}/sudo-users/ethtool
+