nixpkgs/test/boot-stage-1-init.sh
Eelco Dolstra 707dd20538 * Make device nodes in the stage 1 init (copied from ../init.sh).
svn path=/nixu/trunk/; revision=6932
2006-11-02 23:58:06 +00:00

19 lines
251 B
Bash

#! @shell@
# Print a greeting.
echo
echo "<<< NixOS Stage 1 >>>"
echo
# Set the PATH.
export PATH=/empty
for i in @path@; do
PATH=$PATH:$i/bin
done
# Create device nodes in /dev.
source @makeDevices@
# Start an interactive shell.
exec @shell@