summaryrefslogtreecommitdiff
path: root/arch-linux/anytun/anytun.install
blob: 9c497aee5519a157876aa02eec2cea1dddd0d12e (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 using the following script:"
  echo " http://svn.anytun.org/anytun-common/trunk/wireshark-lua/satp.lua"
  echo "==============================================================================="
  echo ""
}

post_upgrade() {
  return 0
}

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