diff options
author | abial <abial@FreeBSD.org> | 1998-10-25 15:15:55 +0000 |
---|---|---|
committer | abial <abial@FreeBSD.org> | 1998-10-25 15:15:55 +0000 |
commit | 6d1cb55661a270e5bf681ecf3a10c5803c28ff4d (patch) | |
tree | 3b642cf62c09bcf39ee29ce28d6b8d440534c667 /release/picobsd | |
parent | d34edc7ba787624c85ee567bb95cee3ec2d3d3c6 (diff) | |
download | FreeBSD-src-6d1cb55661a270e5bf681ecf3a10c5803c28ff4d.zip FreeBSD-src-6d1cb55661a270e5bf681ecf3a10c5803c28ff4d.tar.gz |
Allow to use other floppy sizes for "router" floppy.
Diffstat (limited to 'release/picobsd')
-rwxr-xr-x | release/picobsd/build/stage1 | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/release/picobsd/build/stage1 b/release/picobsd/build/stage1 index 9846dd0..0651cf8 100755 --- a/release/picobsd/build/stage1 +++ b/release/picobsd/build/stage1 @@ -1,7 +1,7 @@ #! /bin/sh - # -# $Id: stage1,v 1.3 1998/09/11 13:14:25 abial Exp $ +# $Id: stage1,v 1.4 1998/09/20 00:46:07 abial Exp $ # set -e @@ -50,7 +50,12 @@ if [ "${TYPE}" != "router" ] then disklabel -rw vn0 auto else - disklabel -rw /dev/rvn0 fd820 + if [ ${SIZE} -lt 1024 ] + then + disklabel -rw /dev/rvn0 fd${SIZE} + else + disklabel -rw vn0 auto + fi fi if [ "X$?" != "X0" ] then |