]> git.lizzy.rs Git - plan9front.git/blob - rc/bin/ape/psh
inst: don't hardcode /net/ether0, might have usb ethernet
[plan9front.git] / rc / bin / ape / psh
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 $*