summaryrefslogtreecommitdiff
path: root/arch-linux/anytun-svn/anytun.install
blob: 7f2c5685868d4f91fc67460e38e19dec152a4e18 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
post_install() {
  echo ""
  echo "==============================================================================="
  echo "Don't forget to create configuration directories unter /etc/anytun/"
  echo "and to add them to /etc/anytun/autostart. See README for more Information"
  echo "You will find example configuration files in /usr/share/anytun-$1/etc-example/"
  echo ""
  echo "You might want to add a user/group for anytun:"
  echo "> sudo groupadd -r anytun"
  echo "> useradd -g anytun -r -d /var/run/anytun -s /bin/false anytun"
  echo ""
  echo "You can disect anytun traffic using wireshark by plugging the script"
  echo " /usr/share/anytun-$1/wireshark-lua/satp.lua into wireshark"
  echo "==============================================================================="
  echo ""
}

post_upgrade() {
  return 0
}

pre_remove() {
  [-x /etc/rc.d/anytun ] && /etc/rc.d/anytun stop
}