0a4f0b6f07
auto flag, which queries all local harddisks for swap partitions/ wedges and adds/removes them as swap device, a -f option to use the first found swap device as dump device, and a -o option to only auto-configure the dump device, but leave swap alone. Add a -n option to make swapctl only say what it would do, but not change any system state.
13 lines
244 B
Makefile
13 lines
244 B
Makefile
# $NetBSD: Makefile,v 1.5 2006/08/27 21:07:39 martin Exp $
|
|
|
|
PROG= swapctl
|
|
SRCS= swapctl.c swaplist.c
|
|
MAN= swapctl.8
|
|
LDADD+= -lutil
|
|
DPADD+= ${LIBUTIL}
|
|
|
|
LINKS= ${BINDIR}/swapctl ${BINDIR}/swapon
|
|
MLINKS= swapctl.8 swapon.8
|
|
|
|
.include <bsd.prog.mk>
|