diff options
Diffstat (limited to 'files/runsystem.initrd')
-rwxr-xr-x | files/runsystem.initrd | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/files/runsystem.initrd b/files/runsystem.initrd new file mode 100755 index 0000000..be3ccfc --- /dev/null +++ b/files/runsystem.initrd @@ -0,0 +1,10 @@ +#!/bin/sh +# runsystem for initrd. + +settrans -ac /dev/mach-console /hurd/streamio console +exec <>/dev/mach-console >&0 2>&0 +export PATH=/bin:/sbin +echo Hello from /bin/sh! +uname -a +settrans -ac /proc /hurd/procfs --stat-mode=444 +exec /bin/sh -i |