summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStephen Hemminger <stephen.hemminger@vyatta.com>2008-02-25 16:38:37 -0800
committerStephen Hemminger <stephen.hemminger@vyatta.com>2008-02-25 16:38:37 -0800
commitb937e3150728aa5988531c66393a905584dc1902 (patch)
treebbd47066e656bc6548f26eeee143396685e5736d
parent61ed2bab2adb0b26627bbfc4fe45c23d5032c6c7 (diff)
downloadvyatta-op-b937e3150728aa5988531c66393a905584dc1902.tar.gz
vyatta-op-b937e3150728aa5988531c66393a905584dc1902.zip
remove unneeded install steps
No longer need symlinks in sudo-users since these commands are either run directly (non root) or use fixed path.
-rw-r--r--debian/vyatta-op.postinst.in11
-rw-r--r--debian/vyatta-op.postrm.in13
2 files changed, 0 insertions, 24 deletions
diff --git a/debian/vyatta-op.postinst.in b/debian/vyatta-op.postinst.in
deleted file mode 100644
index 4f0b3b4..0000000
--- a/debian/vyatta-op.postinst.in
+++ /dev/null
@@ -1,11 +0,0 @@
-#!/bin/bash
-
-prefix=@prefix@
-exec_prefix=@exec_prefix@
-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
deleted file mode 100644
index f86a7ba..0000000
--- a/debian/vyatta-op.postrm.in
+++ /dev/null
@@ -1,13 +0,0 @@
-#!/bin/bash
-
-prefix=@prefix@
-exec_prefix=@exec_prefix@
-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
-