]> git.lizzy.rs Git - plan9front.git/commitdiff
add files for cpu server.
authorstanley lieber <stanley.lieber@gmail.com>
Wed, 4 May 2011 17:26:45 +0000 (17:26 +0000)
committerstanley lieber <stanley.lieber@gmail.com>
Wed, 4 May 2011 17:26:45 +0000 (17:26 +0000)
adm/keys.who [new file with mode: 0644]
cfg/cirno/cpurc [new file with mode: 0755]
cfg/cirno/cpustart [new file with mode: 0644]
cfg/cirno/termrc [new file with mode: 0644]
cron/bootes [new file with mode: 0644]
rc/bin/service.auth/authsrv.tcp567 [deleted file]
rc/bin/service.auth/tcp567 [new file with mode: 0755]
sys/log/cron [new file with mode: 0644]

diff --git a/adm/keys.who b/adm/keys.who
new file mode 100644 (file)
index 0000000..e69de29
diff --git a/cfg/cirno/cpurc b/cfg/cirno/cpurc
new file mode 100755 (executable)
index 0000000..d91dba6
--- /dev/null
@@ -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 (file)
index 0000000..836a184
--- /dev/null
@@ -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 (file)
index 0000000..3d18e28
--- /dev/null
@@ -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 (file)
index 0000000..e69de29
diff --git a/rc/bin/service.auth/authsrv.tcp567 b/rc/bin/service.auth/authsrv.tcp567
deleted file mode 100755 (executable)
index 8bcf54a..0000000
+++ /dev/null
@@ -1,2 +0,0 @@
-#!/bin/rc
-/bin/auth/authsrv -d $3
diff --git a/rc/bin/service.auth/tcp567 b/rc/bin/service.auth/tcp567
new file mode 100755 (executable)
index 0000000..8bcf54a
--- /dev/null
@@ -0,0 +1,2 @@
+#!/bin/rc
+/bin/auth/authsrv -d $3
diff --git a/sys/log/cron b/sys/log/cron
new file mode 100644 (file)
index 0000000..e69de29