From e9a55e0333d2da1f0f3a129310cf210684590494 Mon Sep 17 00:00:00 2001 From: stanley lieber Date: Wed, 4 May 2011 17:26:45 +0000 Subject: [PATCH] add files for cpu server. --- adm/keys.who | 0 cfg/cirno/cpurc | 14 ++++++++++++++ cfg/cirno/cpustart | 14 ++++++++++++++ cfg/cirno/termrc | 7 +++++++ cron/bootes | 0 rc/bin/service.auth/{authsrv.tcp567 => tcp567} | 0 sys/log/cron | 0 7 files changed, 35 insertions(+) create mode 100644 adm/keys.who create mode 100755 cfg/cirno/cpurc create mode 100644 cfg/cirno/cpustart create mode 100644 cfg/cirno/termrc create mode 100644 cron/bootes rename rc/bin/service.auth/{authsrv.tcp567 => tcp567} (100%) create mode 100644 sys/log/cron diff --git a/adm/keys.who b/adm/keys.who new file mode 100644 index 000000000..e69de29bb 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 diff --git a/rc/bin/service.auth/authsrv.tcp567 b/rc/bin/service.auth/tcp567 similarity index 100% rename from rc/bin/service.auth/authsrv.tcp567 rename to rc/bin/service.auth/tcp567 diff --git a/sys/log/cron b/sys/log/cron new file mode 100644 index 000000000..e69de29bb