initial import
This commit is contained in:
19
vde2/vde2.install
Normal file
19
vde2/vde2.install
Normal file
@@ -0,0 +1,19 @@
|
||||
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
|
||||
}
|
||||
Reference in New Issue
Block a user