psh 240 B

12345678910
  1. #!/bin/rc
  2. # set up a shell running in an approximate POSIX 1003.2 environment
  3. rfork en
  4. fn sigterm{}
  5. HOME=$home
  6. bind -b /rc/bin/ape /bin
  7. bind -b /$cputype/bin/ape /bin
  8. if(test -d /$cputype/bin/pub)
  9. bind -a /$cputype/bin/pub /bin
  10. /bin/sh $*