summarylogtreecommitdiffstats
path: root/connect-tunnel.install
blob: 7b39775a4d498441aa3862f1bbd78923d5a3c4b1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
post_install() {
    ln -sf /usr/local/Aventail/startct.sh /usr/bin/startct
    ln -sf /usr/local/Aventail/startctui.sh /usr/bin/startctui
    ln -sf /etc/ssl/certs /usr/local/Aventail/certs
}

post_remove() {
    rm -rf /usr/bin/startct /usr/bin/startctui /usr/local/Aventail
    for homeDir in /home/* /root; do
        rm -rf $homeDir/.sonicwall/AventailConnect/library/branding
        rm -rf $homeDir/.sonicwall/AventailConnect
    done
}