* Quick hack to make sure that acpid starts before hal.
svn path=/nixos/trunk/; revision=14139
This commit is contained in:
parent
e9b6d417a6
commit
049c60e8c0
@ -363,6 +363,7 @@ let
|
||||
++ optional config.services.hal.enable
|
||||
(import ../upstart-jobs/hal.nix {
|
||||
inherit (pkgs) stdenv hal;
|
||||
inherit config;
|
||||
})
|
||||
|
||||
++ optional config.services.gpm.enable
|
||||
|
@ -1,4 +1,4 @@
|
||||
{stdenv, hal}:
|
||||
{stdenv, hal, config}:
|
||||
|
||||
{
|
||||
name = "hal";
|
||||
@ -23,7 +23,7 @@
|
||||
|
||||
# !!! TODO: make sure that HAL starts after acpid,
|
||||
# otherwise hald-addon-acpi will grab /proc/acpi/event.
|
||||
start on dbus
|
||||
start on ${if config.powerManagement.enable then "acpid" else "dbus"}
|
||||
stop on shutdown
|
||||
|
||||
start script
|
||||
|
Loading…
Reference in New Issue
Block a user