Remove creation of /dev/{fd,stdin,stdout,stderr}
This is already provided by devtmpfs.
This commit is contained in:
parent
bb030ece3b
commit
16bdaf3d03
@ -117,14 +117,7 @@ in
|
||||
|
||||
config = {
|
||||
|
||||
system.activationScripts.stdio =
|
||||
''
|
||||
# Needed by some programs.
|
||||
ln -sfn /proc/self/fd /dev/fd
|
||||
ln -sfn /proc/self/fd/0 /dev/stdin
|
||||
ln -sfn /proc/self/fd/1 /dev/stdout
|
||||
ln -sfn /proc/self/fd/2 /dev/stderr
|
||||
'';
|
||||
system.activationScripts.stdio = ""; # obsolete
|
||||
|
||||
system.activationScripts.var =
|
||||
''
|
||||
|
Loading…
Reference in New Issue
Block a user