2006-11-02 22:48:01 +00:00
|
|
|
#! @shell@
|
|
|
|
|
|
|
|
# Print a greeting.
|
2006-11-02 22:50:30 +00:00
|
|
|
echo
|
|
|
|
echo "<<< NixOS Stage 1 >>>"
|
|
|
|
echo
|
2006-11-02 22:48:01 +00:00
|
|
|
|
|
|
|
# Set the PATH.
|
|
|
|
export PATH=/empty
|
|
|
|
for i in @path@; do
|
|
|
|
PATH=$PATH:$i/bin
|
|
|
|
done
|
|
|
|
|
2006-11-02 23:58:06 +00:00
|
|
|
# Create device nodes in /dev.
|
|
|
|
source @makeDevices@
|
|
|
|
|
2006-11-02 22:48:01 +00:00
|
|
|
# Start an interactive shell.
|
|
|
|
exec @shell@
|