* Updated some more jobs.

svn path=/nixos/branches/upstart-0.6/; revision=18219
This commit is contained in:
Eelco Dolstra 2009-11-06 19:20:09 +00:00
parent 3fcb7c2cb5
commit 676da4d87d
5 changed files with 12 additions and 8 deletions

View File

@ -125,7 +125,7 @@
./system/boot/stage-1.nix
./system/boot/stage-2.nix
./system/etc/etc.nix
./system/upstart-events/ctrl-alt-delete.nix
./system/upstart-events/control-alt-delete.nix
./system/upstart-events/halt.nix
./system/upstart-events/maintenance-shell.nix
./system/upstart/upstart.nix

View File

@ -3,10 +3,10 @@
###### implementation
{
jobs.ctrl_alt_delete =
{ name = "ctrl-alt-delete";
jobs.control_alt_delete =
{ name = "control-alt-delete";
startOn = "ctrlaltdel";
startOn = "control-alt-delete";
task = true;

View File

@ -59,9 +59,11 @@ in
jobs.kbd =
{ description = "Keyboard / console initialisation";
startOn = "udev";
startOn = "started udev";
preStart = ''
task = true;
script = ''
export LANG=${defaultLocale}
export LOCALE_ARCHIVE=/var/run/current-system/sw/lib/locale/locale-archive
export PATH=${pkgs.gzip}/bin:$PATH # Needed by setfont

View File

@ -7,7 +7,7 @@
config = {
jobs.lvm =
{ startOn = " udev"; # !!! or on new-devices
{ startOn = "started udev or new-devices";
script =
''

View File

@ -13,7 +13,7 @@ in
{
jobs.swraid =
{ startOn = "udev"; # !!! or on "new-devices"
{ startOn = "started udev or new-devices";
script =
''
@ -25,6 +25,8 @@ in
# Scan /proc/partitions for RAID devices.
${mdadm}/sbin/mdadm --examine --brief --scan -c partitions > ${tempConf}
if ! test -s ${tempConf}; then exit 0; fi
# Activate each device found.
${mdadm}/sbin/mdadm --assemble -c ${tempConf} --scan