aboutsummaryrefslogtreecommitdiff
path: root/core/carbs-init/patches/fd.patch
diff options
context:
space:
mode:
authorCem Keylan <cem@ckyln.com>2022-01-10 17:28:04 +0300
committerCem Keylan <cem@ckyln.com>2022-01-10 17:28:04 +0300
commit9f8f9ce4992f4775cb3f1a22c50499663b12c0dc (patch)
tree0392b198498adb651a18c80973db1b80bd4faa0e /core/carbs-init/patches/fd.patch
parent11706b43e698e12eb03bfcf3c2987a665f22b8d3 (diff)
downloadrepository-9f8f9ce4992f4775cb3f1a22c50499663b12c0dc.tar.gz
carbs-init: apply patch
Diffstat (limited to 'core/carbs-init/patches/fd.patch')
-rw-r--r--core/carbs-init/patches/fd.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/core/carbs-init/patches/fd.patch b/core/carbs-init/patches/fd.patch
new file mode 100644
index 00000000..ff5af2da
--- /dev/null
+++ b/core/carbs-init/patches/fd.patch
@@ -0,0 +1,13 @@
+diff --git a/rc.boot b/rc.boot
+index 49d7fa5..ba5d3dd 100755
+--- a/rc.boot
++++ b/rc.boot
+@@ -27,7 +27,7 @@ out "Mounting pseudo filesystems..."; {
+ mnt mode=1777,nosuid,nodev tmpfs shm /dev/shm
+
+ {
+- ln -sf /proc/self/fs /dev/fd
++ ln -sf /proc/self/fd /dev/fd
+ ln -sf fd/0 /dev/stdin
+ ln -sf fd/1 /dev/stdout
+ ln -sf fd/2 /dev/stderr