summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--debian/vyatta-op.postinst.in3
-rw-r--r--debian/vyatta-op.postrm.in12
2 files changed, 0 insertions, 15 deletions
diff --git a/debian/vyatta-op.postinst.in b/debian/vyatta-op.postinst.in
index 5b47eaa..e8bab7f 100644
--- a/debian/vyatta-op.postinst.in
+++ b/debian/vyatta-op.postinst.in
@@ -5,8 +5,5 @@ exec_prefix=@exec_prefix@
bindir=@bindir@
# add symlinks for sudo
-ln -sf /usr/sbin/ethtool ${bindir}/sudo-users/ethtool
-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
ln -sf /opt/vyatta/sbin/vyatta-interfaces.pl ${bindir}/sudo-users/vyatta-interfaces.pl
diff --git a/debian/vyatta-op.postrm.in b/debian/vyatta-op.postrm.in
deleted file mode 100644
index 8d34999..0000000
--- a/debian/vyatta-op.postrm.in
+++ /dev/null
@@ -1,12 +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/iptables
-fi
-