summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorstanley lieber <stanley.lieber@gmail.com>2011-05-04 17:26:45 +0000
committerstanley lieber <stanley.lieber@gmail.com>2011-05-04 17:26:45 +0000
commite9a55e0333d2da1f0f3a129310cf210684590494 (patch)
treeff95bd03b0c3fd284c4d2de3c1d52818c00656c2
parentde2dc860d3c8cd7dd410e06353663b5b7d00fa3a (diff)
downloadplan9front-e9a55e0333d2da1f0f3a129310cf210684590494.tar.xz
add files for cpu server.
-rw-r--r--adm/keys.who0
-rwxr-xr-xcfg/cirno/cpurc14
-rw-r--r--cfg/cirno/cpustart14
-rw-r--r--cfg/cirno/termrc7
-rw-r--r--cron/bootes0
-rwxr-xr-xrc/bin/service.auth/tcp567 (renamed from rc/bin/service.auth/authsrv.tcp567)0
-rw-r--r--sys/log/cron0
7 files changed, 35 insertions, 0 deletions
diff --git a/adm/keys.who b/adm/keys.who
new file mode 100644
index 000000000..e69de29bb
--- /dev/null
+++ b/adm/keys.who
diff --git a/cfg/cirno/cpurc b/cfg/cirno/cpurc
new file mode 100755
index 000000000..d91dba6ff
--- /dev/null
+++ b/cfg/cirno/cpurc
@@ -0,0 +1,14 @@
+#!/bin/rc
+# cpu-specific startup
+
+# Since booting from venti could have started loopback,
+# don't test for existing interfaces, just use ipconfig.
+# ip/ipconfig -g your-gateway ether /net/ether0 your-ip-address your-subnet-mask
+
+# example: adjust to fit your network
+ip/ipconfig -g 192.168.0.1 ether /net/ether0 192.168.0.2 255.255.255.0
+
+# outgoing mail will appear to originate from this domain
+site=9front
+
+ntp=pool.ntp.org
diff --git a/cfg/cirno/cpustart b/cfg/cirno/cpustart
new file mode 100644
index 000000000..836a18471
--- /dev/null
+++ b/cfg/cirno/cpustart
@@ -0,0 +1,14 @@
+aux/listen -q -t /rc/bin/service.auth -d /rc/bin/service tcp
+@{
+ rfork n
+ if(~ $monitor vesa)
+ aux/realemu
+ aux/vga -l $vgasize
+}
+switch($mouseport){
+case ps2 ps2intellimouse 0 1 2
+ aux/mouse $mouseport
+ if(~ $accupoint 1)
+ pipefile -dr /bin/aux/accupoint /dev/mouse
+}
+exec rio
diff --git a/cfg/cirno/termrc b/cfg/cirno/termrc
new file mode 100644
index 000000000..3d18e28f1
--- /dev/null
+++ b/cfg/cirno/termrc
@@ -0,0 +1,7 @@
+# example: adjust to fit your network
+ip/ipconfig -g 192.168.0.1 ether /net/ether0 192.168.0.2 255.255.255.0
+
+# outgoing mail will appear to originate from this domain
+site=9front
+
+ntp=pool.ntp.org
diff --git a/cron/bootes b/cron/bootes
new file mode 100644
index 000000000..e69de29bb
--- /dev/null
+++ b/cron/bootes
diff --git a/rc/bin/service.auth/authsrv.tcp567 b/rc/bin/service.auth/tcp567
index 8bcf54a26..8bcf54a26 100755
--- a/rc/bin/service.auth/authsrv.tcp567
+++ b/rc/bin/service.auth/tcp567
diff --git a/sys/log/cron b/sys/log/cron
new file mode 100644
index 000000000..e69de29bb
--- /dev/null
+++ b/sys/log/cron