summaryrefslogtreecommitdiff
path: root/debian/vyatta-op.postinst.in
blob: e8bab7f47514791ef4a860c1fbda7335212624ec (plain)
1
2
3
4
5
6
7
8
9
#!/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