summaryrefslogtreecommitdiff
path: root/rc/bin/inst/bootplan9
diff options
context:
space:
mode:
Diffstat (limited to 'rc/bin/inst/bootplan9')
-rwxr-xr-xrc/bin/inst/bootplan96
1 files changed, 0 insertions, 6 deletions
diff --git a/rc/bin/inst/bootplan9 b/rc/bin/inst/bootplan9
index 942c043b0..8e4ca0bc8 100755
--- a/rc/bin/inst/bootplan9
+++ b/rc/bin/inst/bootplan9
@@ -1,11 +1,5 @@
#!/bin/rc
-first=`{ls -p '#S' | sed 1q}
-if(! ~ $first $disk) {
- echo 'warning: The plan 9 partition is not on the boot disk,'
- echo 'so making it the active partition will have no effect.'
-}
-
p9offset=`{grep '^part 9fat ' /dev/$disk/ctl |awk '{print $3}'}
if(! ~ $#p9offset 1) {
echo 'could not find plan 9 partition.'