summaryrefslogtreecommitdiffstats
path: root/sbin
diff options
context:
space:
mode:
authorjkh <jkh@FreeBSD.org>1996-10-02 07:22:26 +0000
committerjkh <jkh@FreeBSD.org>1996-10-02 07:22:26 +0000
commit47ef5d3faf1ef80baf8b5ecb97f7bd4d3dfc6047 (patch)
tree30e4f9091ab17a4d364285f00082db45e2b3df40 /sbin
parentef4cc3f18ca0f0e5fe294bc71a0fd57c64aa4788 (diff)
downloadFreeBSD-src-47ef5d3faf1ef80baf8b5ecb97f7bd4d3dfc6047.zip
FreeBSD-src-47ef5d3faf1ef80baf8b5ecb97f7bd4d3dfc6047.tar.gz
Back out my -k changes; there's a better way to do this in the short-term.
Diffstat (limited to 'sbin')
-rw-r--r--sbin/dset/dset.88
-rw-r--r--sbin/dset/dset.c11
2 files changed, 5 insertions, 14 deletions
diff --git a/sbin/dset/dset.8 b/sbin/dset/dset.8
index 998dcc1..aeec2ed 100644
--- a/sbin/dset/dset.8
+++ b/sbin/dset/dset.8
@@ -23,7 +23,7 @@
.\" (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
.\" THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
.\"
-.\" $Id: dset.8,v 1.2 1996/05/02 22:34:19 mpp Exp $
+.\" $Id: dset.8,v 1.3 1996/10/01 14:42:35 jkh Exp $
.\" "
.Dd May 2, 1996
.Dt DSET 8
@@ -34,7 +34,6 @@
.Sh SYNOPSIS
.Nm dset
.Op Fl vqt
-.Op Fl k Ar kernel
.Sh DESCRIPTION
.Nm Dset
records the configuration changes for ISA devices that have been made
@@ -43,10 +42,7 @@ from
after booting with the
.Fl c
option. The changes (if any) are recorded to the file name returned by
-.Xr getbootfile 3
-unless overridden with the
-.Fl k
-flag.
+.Xr getbootfile 3 .
.Nm Dset
is typically called from within
.Pa /etc/rc .
diff --git a/sbin/dset/dset.c b/sbin/dset/dset.c
index 3c70d1d..3961d55 100644
--- a/sbin/dset/dset.c
+++ b/sbin/dset/dset.c
@@ -83,7 +83,7 @@ error(name, str)
void
usage(char *title)
{
- fprintf(stderr, "usage: %s [-qtv] [-k kernel]\n", title);
+ fprintf(stderr, "usage: %s [-qtv]\n", title);
}
main(ac, av)
@@ -109,7 +109,7 @@ main(ac, av)
int testonly = FALSE;
int verbose = FALSE;
- while ((ch = getopt(ac, av, "qtvk:")) != EOF)
+ while ((ch = getopt(ac, av, "qtv")) != EOF)
switch (ch) {
case 'q':
quiet = TRUE;
@@ -118,10 +118,6 @@ main(ac, av)
testonly = TRUE;
/* In test mode we want to be verbose */
- case 'k':
- kernel = optarg;
- break;
-
case 'v':
verbose = TRUE;
break;
@@ -133,8 +129,7 @@ main(ac, av)
}
- if (!kernel)
- kernel = getbootfile();
+ kernel = getbootfile();
if (verbose)
printf("Boot image: %s\n", kernel);
OpenPOWER on IntegriCloud