diff options
author | Bernhard Tittelbach <service-anytun@tittelbach.org> | 2009-12-05 16:30:23 +0000 |
---|---|---|
committer | Bernhard Tittelbach <service-anytun@tittelbach.org> | 2009-12-05 16:30:23 +0000 |
commit | 4fe34c19062ab50e908d694526e8ccf25b62dbc1 (patch) | |
tree | d5a2252b89ecf159ebaf27d7618fe99433792df2 /arch-linux/uanytun/uanytun.install | |
parent | tiny (diff) |
arch uanytun + fixes
Diffstat (limited to 'arch-linux/uanytun/uanytun.install')
-rw-r--r-- | arch-linux/uanytun/uanytun.install | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/arch-linux/uanytun/uanytun.install b/arch-linux/uanytun/uanytun.install new file mode 100644 index 0000000..31303a8 --- /dev/null +++ b/arch-linux/uanytun/uanytun.install @@ -0,0 +1,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 +} |