summaryrefslogtreecommitdiff
path: root/debian/vyatta-op.postinst.in
blob: b5d475beba0a2f79c6a72887a598368afe11cf4a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
#!/bin/bash

prefix=@prefix@
exec_prefix=@exec_prefix@
bindir=@bindir@

# add symlinks for sudo
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

# rm symlink for sendmail that was added by ssmtp package
rm -f /usr/sbin/sendmail