Page MenuHomeFreeBSD

D29590.diff
No OneTemporary

D29590.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
+# 20210410: remove unused libexec/rc.d/archdep
+OLD_FILES+=etc/rc.d/archdep
+
# 20210408: remove tcp_hostcache.h
OLD_FILES+=usr/include/netinet/tcp_hostcache.h
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
@@ -13,7 +13,6 @@
SERVERS \
addswap \
adjkerntz \
- archdep \
bgfsck \
${_blacklistd} \
bridge \
diff --git a/libexec/rc/rc.d/archdep b/libexec/rc/rc.d/archdep
deleted file mode 100755
--- a/libexec/rc/rc.d/archdep
+++ /dev/null
@@ -1,26 +0,0 @@
-#!/bin/sh
-#
-# $FreeBSD$
-#
-
-# PROVIDE: archdep
-# REQUIRE: mountcritremote
-# KEYWORD: nojail
-
-. /etc/rc.subr
-
-name="archdep"
-start_cmd="archdep_start"
-stop_cmd=":"
-
-archdep_start()
-{
- local _arch
-
- _arch=`${SYSCTL_N} hw.machine_arch`
- case $_arch in
- esac
-}
-
-load_rc_config $name
-run_rc_command "$1"
diff --git a/libexec/rc/rc.d/linux b/libexec/rc/rc.d/linux
--- a/libexec/rc/rc.d/linux
+++ b/libexec/rc/rc.d/linux
@@ -4,7 +4,7 @@
#
# PROVIDE: linux
-# REQUIRE: archdep
+# REQUIRE: kldxref
# KEYWORD: nojail
. /etc/rc.subr
diff --git a/libexec/rc/rc.d/sysvipc b/libexec/rc/rc.d/sysvipc
--- a/libexec/rc/rc.d/sysvipc
+++ b/libexec/rc/rc.d/sysvipc
@@ -4,7 +4,7 @@
#
# PROVIDE: sysvipc
-# REQUIRE: archdep
+# REQUIRE: kldxref
# KEYWORD: nojail
. /etc/rc.subr

File Metadata

Mime Type
text/plain
Expires
Tue, Feb 11, 12:28 PM (12 h, 45 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
16595006
Default Alt Text
D29590.diff (1 KB)

Event Timeline