summaryrefslogtreecommitdiff
path: root/debian/postinst
blob: 02a3f77e1584d16dc5e12ed162cd3a7e6e93f6b5 (plain)
1
2
3
4
5
6
7
8
9
#!/bin/sh

if [ ! -d /opt/vyatta/sbin/policy ];then
   mkdir -p /opt/vyatta/sbin/policy
fi

if [ -f /usr/bin/vtysh ] && [ ! -f /opt/vyatta/sbin/policy/vtysh ]; then
   ln -s /usr/bin/vtysh /opt/vyatta/sbin/policy/vtysh
fi