plan9fox/rc/bin/readweb

15 lines
237 B
Bash
Executable file

#!/bin/rc
# start abaco and its prerequisites
rfork ne
if(~ $#1 0){
rimport '$cpu' /net
}
if not {
rimport $1 /net
shift
}
webfs
webcookies
# probably not needed
# echo useragent netscape 1.0 >/mnt/web/ctl
exec /$cputype/bin/abaco $*