Page MenuHomeFreeBSD

D29749.diff
No OneTemporary

D29749.diff

diff --git a/ObsoleteFiles.inc b/ObsoleteFiles.inc
--- a/ObsoleteFiles.inc
+++ b/ObsoleteFiles.inc
@@ -40,6 +40,9 @@
# xargs -n1 | sort | uniq -d;
# done
+# 20210426: remove unused libexec/rc.d/addswap
+OLD_FILES+=etc/rc.d/addswap
+
# 20210413: Remove pfctlinput2
OLD_FILES+=usr/share/man/man9/pfctlinput2.9.gz
diff --git a/libexec/rc/rc.d/Makefile b/libexec/rc/rc.d/Makefile
--- a/libexec/rc/rc.d/Makefile
+++ b/libexec/rc/rc.d/Makefile
@@ -11,7 +11,6 @@
LOGIN \
NETWORKING \
SERVERS \
- addswap \
adjkerntz \
bgfsck \
${_blacklistd} \
diff --git a/libexec/rc/rc.d/addswap b/libexec/rc/rc.d/addswap
deleted file mode 100755
--- a/libexec/rc/rc.d/addswap
+++ /dev/null
@@ -1,24 +0,0 @@
-#!/bin/sh
-#
-# Add additional swap files
-#
-# $FreeBSD$
-#
-
-# PROVIDE: addswap
-# REQUIRE: FILESYSTEMS kld
-# BEFORE: netif
-# KEYWORD: nojail shutdown
-
-. /etc/rc.subr
-
-name="addswap"
-start_cmd=":"
-stop_cmd=":"
-rcvar=
-
-set_rcvar_obsolete swapfile
-set_rcvar_obsolete geli_swap_flags
-
-load_rc_config $name
-run_rc_command "$1"

File Metadata

Mime Type
text/plain
Expires
Thu, Jan 16, 5:22 AM (19 h, 52 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
15820580
Default Alt Text
D29749.diff (1 KB)

Event Timeline