mirror of
git://git.9front.org/plan9front/plan9front
synced 2025-01-12 11:10:06 +00:00
17 lines
270 B
Bash
Executable file
17 lines
270 B
Bash
Executable file
#!/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 ''
|