summaryrefslogtreecommitdiff
path: root/rc
diff options
context:
space:
mode:
Diffstat (limited to 'rc')
-rwxr-xr-xrc/bin/readweb15
1 files changed, 10 insertions, 5 deletions
diff --git a/rc/bin/readweb b/rc/bin/readweb
index 9290fd62e..93d4debe8 100755
--- a/rc/bin/readweb
+++ b/rc/bin/readweb
@@ -1,10 +1,15 @@
#!/bin/rc
# start abaco and its prerequisites
-rfork n
-
-# outside && bind /net.alt /net
-
+rfork ne
+if(~ $#1 0){
+ rimport '$cpu' /net
+}
+if not {
+ rimport $1 /net
+ shift
+}
webfs
webcookies
-echo useragent netscape 1.0 >/mnt/web/ctl
+# probably not needed
+# echo useragent netscape 1.0 >/mnt/web/ctl
exec /$cputype/bin/abaco $*