summaryrefslogtreecommitdiff
path: root/rc/bin
diff options
context:
space:
mode:
Diffstat (limited to 'rc/bin')
-rwxr-xr-xrc/bin/cpurc3
-rwxr-xr-xrc/bin/cpurc.local3
-rwxr-xr-xrc/bin/inst/bootsetup2
-rwxr-xr-xrc/bin/inst/finish9
-rwxr-xr-xrc/bin/inst/start2
-rwxr-xr-xrc/bin/inst/stop33
-rwxr-xr-xrc/bin/termrc3
-rwxr-xr-xrc/bin/termrc.local2
8 files changed, 13 insertions, 44 deletions
diff --git a/rc/bin/cpurc b/rc/bin/cpurc
index 0436b0530..8fadee5fc 100755
--- a/rc/bin/cpurc
+++ b/rc/bin/cpurc
@@ -1,5 +1,6 @@
#!/bin/rc
-# cpu server start up
+# the pccpuf kernel runs this file
+
date > /env/boottime
# mount points
diff --git a/rc/bin/cpurc.local b/rc/bin/cpurc.local
index 318406bf9..e33cf6e44 100755
--- a/rc/bin/cpurc.local
+++ b/rc/bin/cpurc.local
@@ -1,5 +1,5 @@
#!/bin/rc
-# local cpu startup
+# the 9pccpuf kernel runs this file
# used only by upas, as default return domain appended to all unqualified
# return addresses, even local ones
@@ -12,4 +12,5 @@ facedom=FACEDOM
for(i in m i P S t u)
bind -a '#'^$i /dev >/dev/null >[2=1]
+
mount -qa /srv/usb /dev
diff --git a/rc/bin/inst/bootsetup b/rc/bin/inst/bootsetup
index 7de697850..e33313f3a 100755
--- a/rc/bin/inst/bootsetup
+++ b/rc/bin/inst/bootsetup
@@ -30,7 +30,7 @@ case go
echo 'monitor='^$monitor
echo 'vgasize='^$vgasize
if(test -f '#ec/*nomp')
- echo '*nomp='
+ echo '*nomp=1'
} >/tmp/plan9.ini
}
diff --git a/rc/bin/inst/finish b/rc/bin/inst/finish
index e616e64e1..7a0abfe1a 100755
--- a/rc/bin/inst/finish
+++ b/rc/bin/inst/finish
@@ -10,10 +10,7 @@ case checkdone
export finish
case go
- if(~ $cdboot yes){
- echo 'Congratulations; you''ve completed the install.'
- echo
- halt
- }
- stop go finished
+ echo 'Congratulations; you''ve completed the install.'
+ echo
+ halt
}
diff --git a/rc/bin/inst/start b/rc/bin/inst/start
index dbaa7a199..4fb63042f 100755
--- a/rc/bin/inst/start
+++ b/rc/bin/inst/start
@@ -1,5 +1,7 @@
#!/bin/rc
+echo scroll > /dev/wctl
+
cd /bin/inst
. defs
diff --git a/rc/bin/inst/stop b/rc/bin/inst/stop
index a1d48694f..f7d1d1734 100755
--- a/rc/bin/inst/stop
+++ b/rc/bin/inst/stop
@@ -14,37 +14,4 @@ case checkready
stop=notdone
export stop
}
-
-case go
- coherence
- switch($2){
- case finished
- echo 'We need to write the state of the current installation to the install floppy,'
- echo 'so that you can pick up from here if, for example, you want to set up'
- echo 'more boot methods.'
- echo
- case *
- echo 'We need to write the state of the current installation to the install floppy.'
- echo 'so that you can pick up from here when you wish to continue.'
- echo
- }
- echo -n 'Please make sure the install floppy is in the floppy drive and press enter.'
- read >/dev/null >[2]/dev/null
-
- if(! a:) {
- echo 'Couldn''t mount the floppy disk; sorry.'
- exit
- }
-
- if(cp /tmp/vars /n/a:/9inst.cnf || cp /tmp/vars /n/a:/9inst.cnf) {
- echo 'Your install state has been saved to the install floppy.'
- if(~ $2 finished){
- echo
- echo 'Congratulations; you''ve completed the install.'
- }
- echo
- halt
- }
-
- echo 'Couldn''t save the state to your install floppy. Sorry.'
}
diff --git a/rc/bin/termrc b/rc/bin/termrc
index f33df232f..e9be0bb2b 100755
--- a/rc/bin/termrc
+++ b/rc/bin/termrc
@@ -1,5 +1,6 @@
#!/bin/rc
-# terminal startup
+# the 9pcf kernel runs this file
+
TIMESYNCARGS=(-rLa1000000)
NDBFILE=/lib/ndb/local
diff --git a/rc/bin/termrc.local b/rc/bin/termrc.local
index 962c77c01..526edd9ef 100755
--- a/rc/bin/termrc.local
+++ b/rc/bin/termrc.local
@@ -1,5 +1,5 @@
#!/bin/rc
-# local terminal startup
+# the 9pcf kernel runs this file
# used only by upas, as default return domain appended to all unqualified
# return addresses, even local ones