diff options
Diffstat (limited to 'arch-linux/anytun-svn/anytun.install')
-rw-r--r-- | arch-linux/anytun-svn/anytun.install | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/arch-linux/anytun-svn/anytun.install b/arch-linux/anytun-svn/anytun.install new file mode 100644 index 0000000..7f2c568 --- /dev/null +++ b/arch-linux/anytun-svn/anytun.install @@ -0,0 +1,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 +} |