diff options
author | Cem Keylan <cem@ckyln.com> | 2020-06-01 17:57:12 +0300 |
---|---|---|
committer | Cem Keylan <cem@ckyln.com> | 2020-06-01 17:57:12 +0300 |
commit | 49774766cb2f9a8313b10133d66ab87703de72d1 (patch) | |
tree | 84e88bc95830f90cec461565ebe1f83a073a0c8e /rc.boot | |
parent | 58862d66fb1e9fa5d6781c97ad5c04b0297a36fe (diff) | |
download | init-49774766cb2f9a8313b10133d66ab87703de72d1.tar.gz |
init: use link function to link IO devices
Diffstat (limited to 'rc.boot')
-rwxr-xr-x | rc.boot | 7 |
1 files changed, 7 insertions, 0 deletions
@@ -22,6 +22,13 @@ out "Mounting pseudo filesystems..."; { mnt mode=0620,gid=5,nosuid,noexec devpts devpts /dev/pts mnt mode=1777,nosuid,nodev tmpfs shm /dev/shm + + { + link /proc/self/fs /dev/fd + link fd/0 /dev/stdin + link fd/1 /dev/stdout + link fd/2 /dev/stderr + } 2>/dev/null } out "Parsing kernel commandline..."; { |