mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-24 06:33:42 +00:00
2d31e1b6d6
modules). The closure of the boot script is all we need in the initrd. svn path=/nixu/trunk/; revision=6929
18 lines
197 B
Bash
18 lines
197 B
Bash
#! @shell@
|
|
|
|
# Print a greeting.
|
|
cat <<EOF
|
|
|
|
<<< NixOS Stage 1 >>>
|
|
|
|
EOF
|
|
|
|
# Set the PATH.
|
|
export PATH=/empty
|
|
for i in @path@; do
|
|
PATH=$PATH:$i/bin
|
|
done
|
|
|
|
# Start an interactive shell.
|
|
exec @shell@
|