summaryrefslogtreecommitdiff
path: root/arch-linux/uanytun/uanytun.install
blob: 31303a8625057d5b077031ff041b7f8872fa3614 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
post_install() {
  echo ""
  echo "==============================================================================="
  echo "Don't forget to create configuration directories unter /etc/uanytun/"
  echo "and to add them to /etc/uanytun/autostart. See README for more Information"
  echo "You will find example configuration files in /usr/share/doc/uanytun-$1/etc-example/"
  echo ""
  echo "You might want to add a user/group for uanytun:"
  echo "> sudo groupadd -r uanytun"
  echo "> useradd -g uanytun -r -d /var/run -s /bin/false uanytun"
  echo "==============================================================================="
  echo ""
}

post_upgrade() {
  return 0
}

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