summaryrefslogtreecommitdiffstats
path: root/sbin/swapon/Makefile
diff options
context:
space:
mode:
authordillon <dillon@FreeBSD.org>2002-12-28 23:39:47 +0000
committerdillon <dillon@FreeBSD.org>2002-12-28 23:39:47 +0000
commit954749368bc34b7171791be6b1d30aecadb50e11 (patch)
treef87b03e74c9c1e6b9ae164fdbff1e750ba3e8f40 /sbin/swapon/Makefile
parentf0efa00b3b41ee7113be124c8fcbebe862fb6536 (diff)
downloadFreeBSD-src-954749368bc34b7171791be6b1d30aecadb50e11.zip
FreeBSD-src-954749368bc34b7171791be6b1d30aecadb50e11.tar.gz
Add 'swapctl' - as a hardlink to swapon/swapoff, and augment swapon with
swapctl functionality. The idea is to create a swapctl command that is fairly close to the OpenBSD and NetBSD version. FreeBSD does not implement swap priority (and it would be a mistake if we did) so we didn't bother with that part of it. Submitted by: Eirik Nygaard <eirikn@bluezone.no> Augmented by: dillon (extensively) Reviewed by: David Schultz <dschultz@uclink.Berkeley.EDU>
Diffstat (limited to 'sbin/swapon/Makefile')
-rw-r--r--sbin/swapon/Makefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/sbin/swapon/Makefile b/sbin/swapon/Makefile
index f052567..85b0f0a 100644
--- a/sbin/swapon/Makefile
+++ b/sbin/swapon/Makefile
@@ -4,6 +4,8 @@
PROG= swapon
MAN= swapon.8
LINKS= ${BINDIR}/swapon ${BINDIR}/swapoff
+LINKS+= ${BINDIR}/swapon ${BINDIR}/swapctl
MLINKS= swapon.8 swapoff.8
+MLINKS+=swapon.8 swapctl.8
.include <bsd.prog.mk>
OpenPOWER on IntegriCloud