summaryrefslogtreecommitdiff
path: root/usr
diff options
context:
space:
mode:
authorstanley lieber <stanley.lieber@gmail.com>2011-05-04 18:55:08 +0000
committerstanley lieber <stanley.lieber@gmail.com>2011-05-04 18:55:08 +0000
commit0461c5843310c5c51bf43b0835f180492e32f579 (patch)
treef26f48abfbde223adc9630d9becba10aa6f1f7b9 /usr
parente9a55e0333d2da1f0f3a129310cf210684590494 (diff)
add cpu server to the installer; add more files for cpu server; make sure they are included on the cd-rom.
Diffstat (limited to 'usr')
-rw-r--r--usr/bootes/lib/newstime0
-rw-r--r--usr/bootes/lib/plumbing6
-rw-r--r--usr/bootes/lib/profile39
3 files changed, 45 insertions, 0 deletions
diff --git a/usr/bootes/lib/newstime b/usr/bootes/lib/newstime
new file mode 100644
index 000000000..e69de29bb
--- /dev/null
+++ b/usr/bootes/lib/newstime
diff --git a/usr/bootes/lib/plumbing b/usr/bootes/lib/plumbing
new file mode 100644
index 000000000..ec82918a2
--- /dev/null
+++ b/usr/bootes/lib/plumbing
@@ -0,0 +1,6 @@
+# to update: cp /usr/bootes/lib/plumbing /mnt/plumb/rules
+
+editor = acme
+
+include basic
+
diff --git a/usr/bootes/lib/profile b/usr/bootes/lib/profile
new file mode 100644
index 000000000..967865113
--- /dev/null
+++ b/usr/bootes/lib/profile
@@ -0,0 +1,39 @@
+bind -a $home/bin/rc /bin
+bind -a $home/bin/$cputype /bin
+bind -c $home/tmp /tmp
+font = /lib/font/bit/pelm/euro.9.font
+switch($service){
+case terminal
+ plumber
+ startupasfs
+ echo -n accelerated > '#m/mousectl'
+ echo -n 'res 3' > '#m/mousectl'
+ prompt=('term% ' ' ')
+ fn term%{ $* }
+ exec rio
+case cpu
+ if (test -e /mnt/term/mnt/wsys) {
+ # rio already running
+ wsys = /mnt/term^`{cat /mnt/term/env/wsys}
+ bind -a /mnt/term/mnt/wsys /dev
+ echo -n $sysname > /dev/label
+ }
+ bind /mnt/term/dev/cons /dev/cons
+ bind /mnt/term/dev/consctl /dev/consctl
+ bind -a /mnt/term/dev /dev
+ prompt=('cpu% ' ' ')
+ fn cpu%{ $* }
+ startupasfs
+ news
+ if (! test -e /mnt/term/mnt/wsys) {
+ # cpu call from drawterm
+ font=/lib/font/bit/pelm/latin1.8.font
+ plumber
+ auth/factotum
+ exec rio
+ }
+case con
+ prompt=('cpu% ' ' ')
+ startupasfs
+ news
+}