Subversion Repositories planix.SVN

Rev

Rev 2 | Details | Compare with Previous | Last modification | View Log | RSS feed

Rev Author Line No. Line
2 - 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
if(test -d /$cputype/bin/X11){
11
	bind -a /$cputype/bin/X11 /bin
12
	if(test ! -e /env/DISPLAY)
13
		DISPLAY=:0.0
14
}
15
 
16
/bin/sh $*