diff options
Diffstat (limited to 'debian/postinst')
-rw-r--r-- | debian/postinst | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/debian/postinst b/debian/postinst new file mode 100644 index 00000000..02a3f77e --- /dev/null +++ b/debian/postinst @@ -0,0 +1,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 |