2020-03-07 19:06:55 +00:00
|
|
|
#!/bin/rc
|
2020-04-17 17:18:28 +00:00
|
|
|
flags=()
|
|
|
|
while(~ $1 -*){
|
|
|
|
flags=($flags $1)
|
|
|
|
shift
|
|
|
|
}
|
2020-03-07 19:06:55 +00:00
|
|
|
if(~ $#* 0){
|
|
|
|
*=(rc -i)
|
|
|
|
}
|
2020-04-17 17:18:28 +00:00
|
|
|
/acme/bin/$cputype/winfs $flags $1 >/dev/null >[2=1] || {
|
2020-03-07 19:06:55 +00:00
|
|
|
# compat
|
|
|
|
exec /acme/bin/$cputype/win $*
|
|
|
|
exit
|
|
|
|
}
|
2020-09-16 10:41:24 +00:00
|
|
|
echo dump win $* > /dev/acme/ctl
|
2020-03-07 19:06:55 +00:00
|
|
|
</dev/cons >/dev/cons >[2=1] $*
|
|
|
|
exit ''
|