aboutsummaryrefslogtreecommitdiffstats
path: root/package/system/procd/files/hotplug.json
diff options
context:
space:
mode:
Diffstat (limited to 'package/system/procd/files/hotplug.json')
-rw-r--r--package/system/procd/files/hotplug.json1
1 files changed, 1 insertions, 0 deletions
diff --git a/package/system/procd/files/hotplug.json b/package/system/procd/files/hotplug.json
index b930b307a4..9fecddae6b 100644
--- a/package/system/procd/files/hotplug.json
+++ b/package/system/procd/files/hotplug.json
@@ -11,6 +11,7 @@
[ "eq", "DEVNAME", "null" ],
[
[ "makedev", "/dev/%DEVNAME%", "0666" ],
+ [ "exec", "/bin/ln", "-s", "/proc/self/fd", "/dev/fd" ],
[ "exec", "/bin/ln", "-s", "/proc/self/fd/0", "/dev/stdin" ],
[ "exec", "/bin/ln", "-s", "/proc/self/fd/1", "/dev/stdout" ],
[ "exec", "/bin/ln", "-s", "/proc/self/fd/2", "/dev/stderr" ],