0
0
Fork 0
mirror of https://github.com/NixOS/nixpkgs.git synced 2025-07-14 06:00:33 +03:00

Fix booting on EC2

The kill command in ash doesn't know the "--" syntax, but doesn't need
it either.
This commit is contained in:
Eelco Dolstra 2012-06-24 19:02:34 -04:00
parent 6bd32f0a27
commit 7613ae950a

View file

@ -83,7 +83,7 @@ with pkgs.lib;
# Force udev to exit to prevent random "Device or resource busy # Force udev to exit to prevent random "Device or resource busy
# while trying to open /dev/xvda" errors from fsck. # while trying to open /dev/xvda" errors from fsck.
udevadm control --exit || true udevadm control --exit || true
kill -9 -- -1 kill -9 -1
''; '';
# Mount all formatted ephemeral disks and activate all swap devices. # Mount all formatted ephemeral disks and activate all swap devices.