summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorderaadt <deraadt@openbsd.org>2005-08-23 23:20:23 +0000
committerderaadt <deraadt@openbsd.org>2005-08-23 23:20:23 +0000
commit69e80e108ac86c8dd7ee771b8648f8481b0dcb7c (patch)
tree88686820ebb18ec2a36e5ec48bba55d86f62a9d2
parentsteal a line from boot_sparc(8): note that L1 is also known as the stop (diff)
downloadwireguard-openbsd-69e80e108ac86c8dd7ee771b8648f8481b0dcb7c.tar.xz
wireguard-openbsd-69e80e108ac86c8dd7ee771b8648f8481b0dcb7c.zip
disable -B support for now; ok dlg
-rw-r--r--sbin/bioctl/bioctl.811
-rw-r--r--sbin/bioctl/bioctl.c11
2 files changed, 4 insertions, 18 deletions
diff --git a/sbin/bioctl/bioctl.8 b/sbin/bioctl/bioctl.8
index cf24130f8f0..72106452f9f 100644
--- a/sbin/bioctl/bioctl.8
+++ b/sbin/bioctl/bioctl.8
@@ -1,4 +1,4 @@
-.\" $OpenBSD: bioctl.8,v 1.37 2005/08/22 14:11:12 jmc Exp $
+.\" $OpenBSD: bioctl.8,v 1.38 2005/08/23 23:20:23 deraadt Exp $
.\"
.\" Copyright (c) 2004, 2005 Marco Peereboom
.\"
@@ -34,7 +34,6 @@
.Bk -words
.Op Fl Dhiv
.Op Fl a Ar alarm-function
-.Op Fl B Ar channel:target[.lun]
.Op Fl b Ar channel:target[.lun]
.Op Fl H Ar channel:target[.lun]
.Op Fl u Ar channel:target[.lun]
@@ -71,14 +70,6 @@ The
may be specified as given above,
or by the first letter only
(e.g. -a e).
-.It Fl B Ar channel:target[.lun]
-Instruct the device at
-.Ar channel:target[.lun]
-to start blinking with the alarm LED, if there is
-.Xr ses 4
-or
-.Xr safte 4
-support in the enclosure.
.It Fl b Ar channel:target[.lun]
Instruct the device at
.Ar channel:target[.lun]
diff --git a/sbin/bioctl/bioctl.c b/sbin/bioctl/bioctl.c
index fe9edfc49a0..d3823771c54 100644
--- a/sbin/bioctl/bioctl.c
+++ b/sbin/bioctl/bioctl.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: bioctl.c,v 1.38 2005/08/23 03:59:32 deraadt Exp $ */
+/* $OpenBSD: bioctl.c,v 1.39 2005/08/23 23:20:23 deraadt Exp $ */
/*
* Copyright (c) 2004, 2005 Marco Peereboom
@@ -82,7 +82,7 @@ main(int argc, char *argv[])
if (argc < 2)
usage();
- while ((ch = getopt(argc, argv, "b:B:u:H:ha:Div")) != -1) {
+ while ((ch = getopt(argc, argv, "b:u:H:ha:Div")) != -1) {
switch (ch) {
case 'a': /* alarm */
func |= BIOC_ALARM;
@@ -93,11 +93,6 @@ main(int argc, char *argv[])
blink = BIOC_SBBLINK;
bl_arg = optarg;
break;
- case 'B': /* alarm blink */
- func |= BIOC_BLINK;
- blink = BIOC_SBALARM;
- bl_arg = optarg;
- break;
case 'u': /* unblink */
func |= BIOC_BLINK;
blink = BIOC_SBUNBLINK;
@@ -179,7 +174,7 @@ usage(void)
extern char *__progname;
fprintf(stderr, "usage: %s [-Dhiv] [-a alarm-function]"
- " [[-bBHu] chan:targ[.lun]] device\n", __progname);
+ " [[-bHu] chan:targ[.lun]] device\n", __progname);
exit(1);
}