| ... | ... |
@@ -57,7 +57,9 @@ cgroup_device_acl = [ |
| 57 | 57 |
EOF |
| 58 | 58 |
fi |
| 59 | 59 |
|
| 60 |
- if [ "$os_VENDOR" = "Ubuntu" ]; then |
|
| 60 |
+ # Since the release of Debian Wheezy the libvirt init script is libvirtd |
|
| 61 |
+ # and not libvirtd-bin anymore. |
|
| 62 |
+ if is_ubuntu && [ ! -f /etc/init.d/libvirtd ]; then |
|
| 61 | 63 |
LIBVIRT_DAEMON=libvirt-bin |
| 62 | 64 |
else |
| 63 | 65 |
LIBVIRT_DAEMON=libvirtd |