From 0461c5843310c5c51bf43b0835f180492e32f579 Mon Sep 17 00:00:00 2001 From: stanley lieber Date: Wed, 4 May 2011 18:55:08 +0000 Subject: add cpu server to the installer; add more files for cpu server; make sure they are included on the cd-rom. --- usr/bootes/lib/newstime | 0 usr/bootes/lib/plumbing | 6 ++++++ usr/bootes/lib/profile | 39 +++++++++++++++++++++++++++++++++++++++ 3 files changed, 45 insertions(+) create mode 100644 usr/bootes/lib/newstime create mode 100644 usr/bootes/lib/plumbing create mode 100644 usr/bootes/lib/profile (limited to 'usr') diff --git a/usr/bootes/lib/newstime b/usr/bootes/lib/newstime new file mode 100644 index 000000000..e69de29bb 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 +} -- cgit v1.2.3