summaryrefslogtreecommitdiff
path: root/rc
diff options
context:
space:
mode:
authorMatthew Veety <mveety@mveety.com>2016-04-25 17:49:31 -0400
committerMatthew Veety <mveety@mveety.com>2016-04-25 17:49:31 -0400
commit6d2635d5badb1825d766f16b0ad43f45f84ca495 (patch)
treeabfa4d3885c2861d348260948d77becea32a14b0 /rc
parent1cf3c4666943028cccfbbed8d2bae2fee30713a4 (diff)
downloadplan9front-6d2635d5badb1825d766f16b0ad43f45f84ca495.tar.xz
made abaco's gui respect $font and made readweb respect most installations
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 $*