summaryrefslogtreecommitdiff
path: root/acme/bin/win
blob: 342b5d8538c6e673d6b1b8e2be6b748e8b9e3ab4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#!/bin/rc
flags=()
while(~ $1 -*){
	flags=($flags $1)
	shift
}
if(~ $#* 0){
	*=(rc -i)
}
/acme/bin/$cputype/winfs $flags $1 >/dev/null >[2=1] || {
	# compat
	exec /acme/bin/$cputype/win $*
	exit
}
echo dump win $* > /dev/acme/ctl
</dev/cons >/dev/cons >[2=1] $*
exit ''