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@
|