commit b08170b457d195b7457e1dfacb81e64b8cc20e43
parent 3d377716a1389ddbea932f24f49b28a41fd05bf0
Author: sin <sin@2f30.org>
Date: Wed, 4 Jun 2014 15:39:47 +0100
create /dev/{stdin,stdout}
Diffstat:
1 file changed, 6 insertions(+), 0 deletions(-)
diff --git a/fs/bin/rc.init b/fs/bin/rc.init
@@ -35,6 +35,12 @@ smdev -s
echo Setting smdev as the kernel hotplug
echo /bin/smdev > /proc/sys/kernel/hotplug
+# HACK!
+cd /dev
+ln -sf /proc/self/fd/0 stdin
+ln -sf /proc/self/fd/1 stdout
+cd -
+
echo Checking filesystems
fsck -ATa
if [ $? -eq 1 ]; then