nixpkgs/modules/system/boot
Eelco Dolstra 82c3e2aa50 * Updated poweroff/reboot/maintenance mode for Upstart 0.6. Upstart
no longer emits specific events for those.  Instead it emits a
  "runlevel" event.  The "runlevel" task starts the "shutdown" task to
  perform the desired action.
* Upstart 0.6 no longer has a "shutdown" event, so "stop on shutdown"
  no longer works.  Therefore the shutdown task explicitly stops all
  running Upstart jobs, before sending a TERM/KILL signal to all
  remaining processes.
* Do a "chvt 1" at the start of the shutdown task to switch to the
  console.
* Use /dev/console instead of /dev/tty1, since if somebody is logged
  in on tty1, bad things will happen.

svn path=/nixos/branches/upstart-0.6/; revision=18224
2009-11-06 21:08:06 +00:00
..
kernel.nix Refactoring modules and cleaning up a comment 2009-09-20 18:15:52 +00:00
stage-1-init.sh Conditioning on /sys/power, and adding double patchelf for armv5tel-linux 2009-09-23 20:50:48 +00:00
stage-1.nix * libgcc_s.so is in $gcc/lib64 on x86_64-linux. 2009-09-25 12:34:09 +00:00
stage-2-init.sh * Updated poweroff/reboot/maintenance mode for Upstart 0.6. Upstart 2009-11-06 21:08:06 +00:00
stage-2.nix * Use Upstart 0.6. Jobs are now in /etc/init instead of /etc/event.d. 2009-11-06 10:43:38 +00:00