summaryrefslogtreecommitdiffstats
path: root/usr.sbin
diff options
context:
space:
mode:
authorsos <sos@FreeBSD.org>1999-09-22 12:04:51 +0000
committersos <sos@FreeBSD.org>1999-09-22 12:04:51 +0000
commit2801850d68933ef5c46317fe5cdc9e1a39b51ba3 (patch)
treebdbb23e177d2a2c2c5f04daff165317b09778bb2 /usr.sbin
parentf747ad7143b0a20f690cbef43139419cb4f5aee4 (diff)
downloadFreeBSD-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.c4
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",
OpenPOWER on IntegriCloud