updated on Sun Jan 8 12:02:35 UTC 2012
[aur-mirror.git] / gvpe / gvpe.install
blobbac5bacb23c9778c758c262563f4ab1d84ae41c2
1 # arg 1:  the new package version
2 post_install() {
3   cat << "EOF"
4 -------------------------------------------------
5 To run gvpe you need a configuration directory
6 /etc/gvpe/whatever/ containing at least the files
7 gvpe.conf, hostkey, if-up and a subdirectory
8 pubkey.
10 To start/stop gvpe do
11 /etc/rc.d/gvpe ifup whatever
13 /etc/rc.d/gvpe ifdown whatever
14 respectively.
16 If you want gvpe to start automatically, edit
17 /etc/conf.d/gvpe and add the name of your
18 configuration directory to the GVPE array and
19 add gvpe to the DAEMONS array in /etc/rc.conf
21 If you want to run multiple virtual ethernet
22 daemons at the same time, each gvpe.conf file
23 has to specify the pid-file option.
25 See manpages for more information
26 -------------------------------------------------
27 EOF
30 # arg 1:  the new package version
31 # arg 2:  the old package version
32 post_upgrade() {
33   post_install $1
36 op=$1
37 shift
38 $op $*