commit | d9083f485b06a30202cb22ecc0c903b695564acc | [log] [download] |
---|---|---|
author | Peter Volkov <pva@gentoo.org> | Fri Apr 01 14:25:45 2011 +0400 |
committer | Kir Kolyshkin <kir@openvz.org> | Thu Apr 14 21:50:38 2011 +0400 |
tree | f637cec645919bec3808ac39d932f95b430443cb | |
parent | e45d504468b46c6bac44510d5280b8622dca4e48 [diff] |
init.d/vzeventd-gentoo: fix starting, handle compiled in vzevent (1) Source /etc/conf.d/vz so we know value of VIRTUOZZO and do not fail in check_config() (2) Allow it to work when modules are built in (MODULES_DISABLED=yes). Set /sys/module/vzevent/parameters/reboot_event=1 on service startup. (3) Cleanups: indentation fixes, use ${VAR} not $VAR. Fixes Gentoo bugs: http://bugs.gentoo.org/show_bug.cgi?id=361453 http://bugs.gentoo.org/show_bug.cgi?id=361457 http://bugzilla.openvz.org/1827 [kir@openvz.org: better changelog entry]