updated on Thu Jan 26 16:09:46 UTC 2012
[aur-mirror.git] / anytun-svn / anytun.install
blob9c497aee5519a157876aa02eec2cea1dddd0d12e
1 post_install() {
2   echo ""
3   echo "==============================================================================="
4   echo "Don't forget to create configuration directories unter /etc/anytun/"
5   echo "and to add them to /etc/anytun/autostart. See README for more Information"
6   echo "You will find example configuration files in /usr/share/anytun-$1/etc-example/"
7   echo ""
8   echo "You might want to add a user/group for anytun:"
9   echo "> sudo groupadd -r anytun"
10   echo "> useradd -g anytun -r -d /var/run/anytun -s /bin/false anytun"
11   echo ""
12   echo "You can disect anytun traffic using wireshark using the following script:"
13   echo " http://svn.anytun.org/anytun-common/trunk/wireshark-lua/satp.lua"
14   echo "==============================================================================="
15   echo ""
18 post_upgrade() {
19   return 0
22 pre_remove() {
23   [-x /etc/rc.d/anytun ] && /etc/rc.d/anytun stop