git: rc.d: Clean up and tweak dependencies

Aaron LI aly at crater.dragonflybsd.org
Tue Feb 27 07:14:15 PST 2024


commit ce0833857e05eba4d13f3fd8a4d049ea68c5ffa4
Author: Aaron LI <aly at aaronly.me>
Date:   Tue Feb 27 21:56:48 2024 +0800

    rc.d: Clean up and tweak dependencies
    
    - Don't use real entries in the dummy scripts; instead, use the dummy
      entries in the real rc scripts.  This makes the dummy entries clean.
    
    - Use dummy entries instead of one/multiple real entries (such as 'root')
      wherever appropriate.
    
    - Use 'REQUIRE' instead of 'BEFORE' wherever appropriate, which makes it
      clearer to understand.
    
    - Simplify and clean up various dependencies; remove unnecessary
      requires.
    
    - Tweak dependencies of some scripts to make the startup order more
      sensible.  For example, make 'hostname' and 'ip6addrctl' run a bit
      later, after 'FILESYSTEMS' but before 'NETWORKING'.
    
    Referred to FreeBSD for some changes.

Summary of changes:
 etc/rc.d/DAEMON          | 2 +-
 etc/rc.d/NETWORKING      | 3 +--
 etc/rc.d/SERVERS         | 2 +-
 etc/rc.d/addswap         | 4 ++--
 etc/rc.d/adjkerntz       | 4 ++--
 etc/rc.d/bootparams      | 2 +-
 etc/rc.d/cleanvar        | 1 +
 etc/rc.d/cleartmp        | 4 ++--
 etc/rc.d/cryptdisks      | 2 +-
 etc/rc.d/devd            | 2 +-
 etc/rc.d/devfs           | 2 +-
 etc/rc.d/dhclient        | 1 +
 etc/rc.d/dhcp_client     | 2 +-
 etc/rc.d/dhcpcd          | 4 ++--
 etc/rc.d/diskless        | 2 +-
 etc/rc.d/dmesg           | 2 +-
 etc/rc.d/dntpd           | 2 +-
 etc/rc.d/dumpon          | 4 ++--
 etc/rc.d/fixbootfile     | 4 ++--
 etc/rc.d/hostname        | 4 ++--
 etc/rc.d/inetd           | 2 +-
 etc/rc.d/ip6addrctl      | 6 +++---
 etc/rc.d/ip6fw           | 4 ++--
 etc/rc.d/ipfw            | 4 ++--
 etc/rc.d/ipfw3           | 3 ++-
 etc/rc.d/lvm             | 1 -
 etc/rc.d/mixer           | 2 +-
 etc/rc.d/modules         | 2 +-
 etc/rc.d/mountcritlocal  | 3 ++-
 etc/rc.d/mountcritremote | 3 ++-
 etc/rc.d/mountd          | 2 +-
 etc/rc.d/mounttmpfs      | 2 +-
 etc/rc.d/netif           | 4 +++-
 etc/rc.d/network_ipv6    | 3 ++-
 etc/rc.d/newsyslog       | 4 ++--
 etc/rc.d/nfsclient       | 2 +-
 etc/rc.d/nfsd            | 2 +-
 etc/rc.d/nfsserver       | 2 +-
 etc/rc.d/nisdomain       | 3 +--
 etc/rc.d/nsswitch        | 4 ++--
 etc/rc.d/pf              | 4 ++--
 etc/rc.d/pflog           | 3 +--
 etc/rc.d/pwcheck         | 2 +-
 etc/rc.d/quota           | 4 ++--
 etc/rc.d/random          | 2 +-
 etc/rc.d/rcconf          | 1 -
 etc/rc.d/route6d         | 1 +
 etc/rc.d/routed          | 1 +
 etc/rc.d/routing         | 1 +
 etc/rc.d/rpcbind         | 2 +-
 etc/rc.d/savecore        | 2 +-
 etc/rc.d/sensorsd        | 2 +-
 etc/rc.d/serial          | 3 ++-
 etc/rc.d/sppp            | 4 ++--
 etc/rc.d/swap1           | 2 +-
 etc/rc.d/sysctl          | 5 +++--
 etc/rc.d/sysdb           | 1 -
 etc/rc.d/syslogd         | 2 +-
 etc/rc.d/ttys            | 3 ++-
 etc/rc.d/udevd           | 2 +-
 etc/rc.d/udevd_early     | 1 -
 etc/rc.d/vfs_quota       | 2 +-
 etc/rc.d/virecover       | 2 +-
 etc/rc.d/vkernel         | 2 +-
 etc/rc.d/vknetd          | 2 +-
 etc/rc.d/wpa_supplicant  | 2 +-
 etc/rc.d/ypserv          | 2 +-
 etc/rc.d/ypset           | 2 +-
 etc/rc.d/ypxfrd          | 2 +-
 69 files changed, 91 insertions(+), 84 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/ce0833857e05eba4d13f3fd8a4d049ea68c5ffa4


-- 
DragonFly BSD source repository


More information about the Commits mailing list