summaryrefslogtreecommitdiff
path: root/rc/bin/inst
diff options
context:
space:
mode:
authorcinap_lenrek <cinap_lenrek@centraldogma>2011-05-11 05:56:28 +0000
committercinap_lenrek <cinap_lenrek@centraldogma>2011-05-11 05:56:28 +0000
commitbc91b2709ff5d7d2dfc74a40e650628ea2064e52 (patch)
treee87aa00d21b8d9e084f61eee1d8acd2eab798b0a /rc/bin/inst
parent4fcc906e7f37678eae7c0b933250c9170dac9487 (diff)
parentf643d03b2ab23b10f17e519399fe32e4f01e8d80 (diff)
downloadplan9front-bc91b2709ff5d7d2dfc74a40e650628ea2064e52.tar.xz
merge
Diffstat (limited to 'rc/bin/inst')
-rwxr-xr-xrc/bin/inst/bootsetup2
-rwxr-xr-xrc/bin/inst/finish9
-rwxr-xr-xrc/bin/inst/start2
-rwxr-xr-xrc/bin/inst/stop33
4 files changed, 6 insertions, 40 deletions
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.'
}