20 lines
462 B
Plaintext
20 lines
462 B
Plaintext
post_install() {
|
|
echo "vde config files should be placed in /etc/vde, sample files are provided."
|
|
echo "iptables and dhcpd sample files have been installed to '/usr/share/vde2'."
|
|
echo "Merge those examples, if needed to the according config files."
|
|
|
|
if ! getent group vde &>/dev/null; then
|
|
groupadd -r vde >/dev/null
|
|
fi
|
|
}
|
|
|
|
post_upgrade() {
|
|
post_install $1
|
|
}
|
|
|
|
post_remove() {
|
|
if getent group vde &>/dev/null; then
|
|
groupdel vde >/dev/null
|
|
fi
|
|
}
|