From 84d199451cf33734003c00c043a1480920f5563b Mon Sep 17 00:00:00 2001 From: Pasha Date: Thu, 29 Feb 2024 19:30:30 +0000 Subject: initial commit --- files/runsystem.initrd | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100755 files/runsystem.initrd (limited to 'files/runsystem.initrd') 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 -- cgit v1.2.1