add missing assertion catching enabled xserver but disabled hal service

svn path=/nixos/trunk/; revision=15609
This commit is contained in:
Marc Weber 2009-05-15 07:39:36 +00:00
parent 60060261a0
commit 3f79e158ba
1 changed files with 2 additions and 1 deletions

View File

@ -415,7 +415,8 @@ rec {
}; };
job = '' # The X server needs HAL running
job = assert config.services.hal.enable; ''
start on ${if cfg.autorun then "hal" else "never"} start on ${if cfg.autorun then "hal" else "never"}
start script start script