diff options
author | Pasha <pasha@member.fsf.org> | 2024-02-29 19:30:30 +0000 |
---|---|---|
committer | Pasha <pasha@member.fsf.org> | 2024-02-29 19:30:30 +0000 |
commit | 84d199451cf33734003c00c043a1480920f5563b (patch) | |
tree | 4655f03b3637184bfb363b4e86d376756e85c9e3 /files/runsystem.initrd | |
download | cross-hurd-84d199451cf33734003c00c043a1480920f5563b.tar.gz cross-hurd-84d199451cf33734003c00c043a1480920f5563b.tar.bz2 |
initial commit
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 |