diff options
author | sos <sos@FreeBSD.org> | 1999-09-22 12:04:51 +0000 |
---|---|---|
committer | sos <sos@FreeBSD.org> | 1999-09-22 12:04:51 +0000 |
commit | 2801850d68933ef5c46317fe5cdc9e1a39b51ba3 (patch) | |
tree | bdbb23e177d2a2c2c5f04daff165317b09778bb2 /usr.sbin | |
parent | f747ad7143b0a20f690cbef43139419cb4f5aee4 (diff) | |
download | FreeBSD-src-2801850d68933ef5c46317fe5cdc9e1a39b51ba3.zip FreeBSD-src-2801850d68933ef5c46317fe5cdc9e1a39b51ba3.tar.gz |
Support quad & max speeds in wormcontrol.
A bit more general cleanup.
Diffstat (limited to 'usr.sbin')
-rw-r--r-- | usr.sbin/wormcontrol/wormcontrol.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/usr.sbin/wormcontrol/wormcontrol.c b/usr.sbin/wormcontrol/wormcontrol.c index a18f6b0..81f857a 100644 --- a/usr.sbin/wormcontrol/wormcontrol.c +++ b/usr.sbin/wormcontrol/wormcontrol.c @@ -96,6 +96,10 @@ main(int argc, char **argv) d.speed = 1; else if (eq(argv[i], "double")) d.speed = 2; + else if (eq(argv[i], "quad")) + d.speed = 4; + else if (eq(argv[i], "max")) + d.speed = 99; else errx(EX_USAGE, "wrong param for \"prepdisk\": %s", |