ref: 3e51d1f9f8591aeab26a55766a262fb3b9109d9b
parent: cfcca03a12558c480f9cb76c5c758eaa98060d45
author: cinap_lenrek <cinap_lenrek@felloff.net>
date: Mon Jan 3 13:44:22 EST 2022
ape/psh: provide /dev/fd
--- a/rc/bin/ape/psh
+++ b/rc/bin/ape/psh
@@ -3,6 +3,7 @@
rfork en
fn sigterm{}
HOME=$home
+test -d /dev/fd || aux/stub -d /dev/fd && bind /fd /dev/fd
bind -b /rc/bin/ape /bin
bind -b /$cputype/bin/ape /bin
if(test -d /$cputype/bin/pub)
--
⑨