18
19
20
21
22
23
24
25
26
27
28
29
30
31
|
# the debian-policy package
case "$1" in
configure)
update-rc.d vws defaults
dpkg-statoverride --update --add root kvm 4750 /usr/lib/qemu/qemu-bridge-helper
;;
abort-upgrade|abort-remove|abort-deconfigure)
;;
*)
echo "postinst called with unknown argument \`$1'" >&2
|
>
|
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
|
# the debian-policy package
case "$1" in
configure)
update-rc.d vws defaults
dpkg-statoverride --update --add root kvm 4750 /usr/lib/qemu/qemu-bridge-helper
id -u kvm >/dev/null 2>&1 || adduser --system --ingroup kvm --home /home/virtual/vws --no-create-home kvm
;;
abort-upgrade|abort-remove|abort-deconfigure)
;;
*)
echo "postinst called with unknown argument \`$1'" >&2
|