diff options
Diffstat (limited to 'debian/vyatta-op.postinst.in')
-rw-r--r-- | debian/vyatta-op.postinst.in | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/debian/vyatta-op.postinst.in b/debian/vyatta-op.postinst.in new file mode 100644 index 0000000..4f0b3b4 --- /dev/null +++ b/debian/vyatta-op.postinst.in @@ -0,0 +1,11 @@ +#!/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 + |