| 
#!/bin/rc
if(test -f /boot/boot){
	os=Plan9
	homeroot=/usr
	EMU='-r /usr/inferno -c0 -g1024x768'
	exec /usr/inferno/$os/386/bin/emu $* /dis/sh.dis -c 'bind ''#U*/usr'' /usr; bind ''#U*/net'' /net; wm/wm wm/logon -u '^$user
}
#if not {
#	os=OpenBSD
#	homeroot=/home
#	user=$USER
#	hostname=`{hostname -s}
#	switch($hostname) {
#	case pham
#		EMU='-r'^$home^'/inferno -c0 -g1920x1080'
#	case l1
#		EMU='-r'^$home^'/inferno -c0 -g1024x768'
#	case *
#		EMU='-r'^$home^'/inferno -c0 -g1280x1024'
#	}
#	exec $home/inferno/$os/386/bin/emu $* /dis/sh.dis -c 'bind ''#U*/home'' /usr; bind ''#U*/net'' /net; wm/wm wm/logon -u '^$user
#}
 |