Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F107508429
D29749.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
1 KB
Referenced Files
None
Subscribers
None
D29749.diff
View Options
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
Details
Attached
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)
Attached To
Mode
D29749: rc: remove the 'addswap' script.
Attached
Detach File
Event Timeline
Log In to Comment