opnsense-src/libexec/rc/rc.d
Andrew Gallatin fd96685a4a Revert "When stopping powerd, set the CPU frequency back to its maximum value"
This reverts commit 1dcb6ad173.

As of "8cb16fdbea6b Restore original frequency on exit.", powerd
restores the original frequency itself.

Further, if the original frequency is not the same as the
first frequency found in the frequency list, then the restoration
done by the powerd_poststop will restore the wrong frequency.
This can happen on Intel machines where Turbo is not enabled,
but the turbo frequency is first in the list of frequencies.
In this case, turbo will be enabled when the user did not want
it to be.

Sponsored by: Netflix
Differential Revision: https://reviews.freebsd.org/D40197
Reviewed by: imp, mav
2023-05-25 09:40:26 -04:00
..
accounting Limit access to system accounting files. 2019-07-13 16:07:38 +00:00
adjkerntz Move the rc framework out of sbin/init into libexec/rc. 2018-10-17 16:49:11 +00:00
apm Move the rc framework out of sbin/init into libexec/rc. 2018-10-17 16:49:11 +00:00
apmd Move the rc framework out of sbin/init into libexec/rc. 2018-10-17 16:49:11 +00:00
auditd rc.d/auditd: set pidfile 2021-01-28 17:24:24 +00:00
auditdistd rc.d: Chmod +x all the scripts for consistency 2022-03-17 20:12:04 +01:00
automount rc.d: Chmod +x all the scripts for consistency 2022-03-17 20:12:04 +01:00
automountd rc.d: Chmod +x all the scripts for consistency 2022-03-17 20:12:04 +01:00
autounmountd rc.d: Chmod +x all the scripts for consistency 2022-03-17 20:12:04 +01:00
bgfsck Introduce startmsg and use it in rc scripts 2022-03-13 18:57:29 +01:00
blacklistd rc.d: Chmod +x all the scripts for consistency 2022-03-17 20:12:04 +01:00
bluetooth bluetooth: Remove stray btccc references 2021-09-29 21:58:27 -06:00
bootparams Move the rc framework out of sbin/init into libexec/rc. 2018-10-17 16:49:11 +00:00
bridge Move the rc framework out of sbin/init into libexec/rc. 2018-10-17 16:49:11 +00:00
bsnmpd Move the rc framework out of sbin/init into libexec/rc. 2018-10-17 16:49:11 +00:00
bthidd Revert r346017 pending compiled-in zfs fix 2019-04-10 07:51:13 +00:00
ccd Move the rc framework out of sbin/init into libexec/rc. 2018-10-17 16:49:11 +00:00
cfumass Revert r346017 pending compiled-in zfs fix 2019-04-10 07:51:13 +00:00
cleanvar cleanvar: Be more careful when cleaning up /var. 2023-02-12 20:56:17 -08:00
cleartmp Introduce startmsg and use it in rc scripts 2022-03-13 18:57:29 +01:00
cron Move the rc framework out of sbin/init into libexec/rc. 2018-10-17 16:49:11 +00:00
ctld rc: make ctld depend on NETWORKING 2021-04-05 16:40:54 +01:00
DAEMON Move the rc framework out of sbin/init into libexec/rc. 2018-10-17 16:49:11 +00:00
ddb Move the rc framework out of sbin/init into libexec/rc. 2018-10-17 16:49:11 +00:00
defaultroute Move the rc framework out of sbin/init into libexec/rc. 2018-10-17 16:49:11 +00:00
devd Move the rc framework out of sbin/init into libexec/rc. 2018-10-17 16:49:11 +00:00
devfs Move the rc framework out of sbin/init into libexec/rc. 2018-10-17 16:49:11 +00:00
devmatch devmatch: Allow devmatch_blocklist to be set in kenv too 2021-11-21 08:54:45 -07:00
dhclient Create dhclient pid directory if it doesn't exist 2021-02-23 13:19:44 +00:00
dmesg Move the rc framework out of sbin/init into libexec/rc. 2018-10-17 16:49:11 +00:00
dnctl Add dnctl rc.d service 2022-11-22 10:46:19 +01:00
dumpon dumpon: use underlying device if encrypted swap is in use 2022-03-09 19:43:14 -05:00
FILESYSTEMS Add 'tmp' to the list of FILESYSTEMS dependencies. Some scripts that 2021-01-15 12:44:06 -08:00
fsck Introduce startmsg and use it in rc scripts 2022-03-13 18:57:29 +01:00
ftp-proxy Move the rc framework out of sbin/init into libexec/rc. 2018-10-17 16:49:11 +00:00
ftpd Move the rc framework out of sbin/init into libexec/rc. 2018-10-17 16:49:11 +00:00
gbde Move the rc framework out of sbin/init into libexec/rc. 2018-10-17 16:49:11 +00:00
geli Move the rc framework out of sbin/init into libexec/rc. 2018-10-17 16:49:11 +00:00
geli2 Move the rc framework out of sbin/init into libexec/rc. 2018-10-17 16:49:11 +00:00
ggated rc.d: Chmod +x all the scripts for consistency 2022-03-17 20:12:04 +01:00
gptboot Move the rc framework out of sbin/init into libexec/rc. 2018-10-17 16:49:11 +00:00
growfs growfs script: fix config-dependent errors 2023-01-04 14:05:35 -06:00
growfs_fstab growfs_fstab startup script: set dumpdev to AUTO 2023-02-28 07:55:35 -06:00
gssd rc.d: Fix NFS server startup scripts to enable vnet prison use 2023-03-12 14:34:25 -07:00
hastd Move the rc framework out of sbin/init into libexec/rc. 2018-10-17 16:49:11 +00:00
hcsecd Move the rc framework out of sbin/init into libexec/rc. 2018-10-17 16:49:11 +00:00
hostapd libexec/rc.d/hostapd: Down/up interface when interface is specified 2022-04-22 09:15:49 -07:00
hostid hostid: Generate random UUID by default 2023-03-09 10:31:39 +01:00
hostid_save rc.d: Generate machine-id from hostid_save 2023-03-09 10:31:55 +01:00
hostname Introduce startmsg and use it in rc scripts 2022-03-13 18:57:29 +01:00
inetd Move the rc framework out of sbin/init into libexec/rc. 2018-10-17 16:49:11 +00:00
iovctl rc.d: Chmod +x all the scripts for consistency 2022-03-17 20:12:04 +01:00
ip6addrctl Move the rc framework out of sbin/init into libexec/rc. 2018-10-17 16:49:11 +00:00
ipfilter Remove the redundant ipfilter IPv6 rc rules load. 2021-02-22 11:20:18 -08:00
ipfs Follow-up on 51da4b19be. When booting a system with WITHOUT_IPFILTER 2021-01-11 12:36:54 -08:00
ipfw ipfw: reload sysctl.conf variables if needed 2021-05-18 04:03:15 +07:00
ipfw_netflow Move the rc framework out of sbin/init into libexec/rc. 2018-10-17 16:49:11 +00:00
ipmon When booting a system with WITHOUT_IPFILTER the following errors 2020-08-11 23:36:38 +00:00
ipnat When booting a system with WITHOUT_IPFILTER the following errors 2020-08-11 23:36:38 +00:00
ippool Load ipfilter, ipnat, and ippool rules, and start ipmon in a vnet jail. 2020-07-23 17:39:45 +00:00
ipropd_master Move the rc framework out of sbin/init into libexec/rc. 2018-10-17 16:49:11 +00:00
ipropd_slave Move the rc framework out of sbin/init into libexec/rc. 2018-10-17 16:49:11 +00:00
ipsec Add ipsec.ko to required_modules for rc.d/ipsec script. 2019-05-06 08:30:53 +00:00
iscsictl rc: replace NETWORK with NETWORKING 2021-04-12 15:28:48 +01:00
iscsid rc: replace NETWORK with NETWORKING 2021-04-12 15:28:48 +01:00
jail rc.d/*: Use startmsg instead of echo on start messages 2022-03-13 18:57:31 +01:00
kadmind Move the rc framework out of sbin/init into libexec/rc. 2018-10-17 16:49:11 +00:00
kdc Move the rc framework out of sbin/init into libexec/rc. 2018-10-17 16:49:11 +00:00
keyserv Move the rc framework out of sbin/init into libexec/rc. 2018-10-17 16:49:11 +00:00
kfd rc: replace NETWORK with NETWORKING 2021-04-12 15:28:48 +01:00
kld provide easy way to disable kld_list loading 2021-05-05 15:19:41 -06:00
kldxref rc: kldxref needs mountcritlocal, not root 2021-04-11 15:19:33 +01:00
kpasswdd Move the rc framework out of sbin/init into libexec/rc. 2018-10-17 16:49:11 +00:00
ldconfig rc.d/ldconfig: Remove mips64 check for ldconfig32. 2023-03-29 10:20:03 -07:00
linux rc.d/linux: Attempt to mount only if necessary 2021-11-13 16:15:14 +01:00
local rc.d/*: Use startmsg instead of echo on start messages 2022-03-13 18:57:31 +01:00
local_unbound local_unbound: rc: allow to overwrite pid file path 2022-09-01 23:51:42 +00:00
localpkg Rename etc/rc.d/abi to etc/rc.d/linux; after moving out the SysV IPC stuff 2019-10-02 11:40:40 +00:00
lockd mountd: Delay starting mountd until after mountlate 2022-01-23 14:17:40 -08:00
LOGIN Move the rc framework out of sbin/init into libexec/rc. 2018-10-17 16:49:11 +00:00
lpd Move the rc framework out of sbin/init into libexec/rc. 2018-10-17 16:49:11 +00:00
Makefile rc.d: Generate machine-id from hostid_save 2023-03-09 10:31:55 +01:00
mdconfig Revert r346017 pending compiled-in zfs fix 2019-04-10 07:51:13 +00:00
mdconfig2 Revert r346017 pending compiled-in zfs fix 2019-04-10 07:51:13 +00:00
mixer rc.d/mixer: Use -o flag instead of -s flag to get current mixer state. 2021-09-22 22:09:36 +02:00
motd /etc/rc.d/motd: Update to accommodate changes in uname(1) and newvers.sh 2023-05-22 22:05:35 -07:00
mountcritlocal Introduce startmsg and use it in rc scripts 2022-03-13 18:57:29 +01:00
mountcritremote Make mountcritremote dependent upon nfscbd. 2020-12-17 00:20:57 +00:00
mountd rc.d: Fix NFS server startup scripts to enable vnet prison use 2023-03-12 14:34:25 -07:00
mountlate Remove excess spaces from rc.d scripts 2020-07-13 13:44:54 +00:00
moused Introduce startmsg and use it in rc scripts 2022-03-13 18:57:29 +01:00
msgs Move the rc framework out of sbin/init into libexec/rc. 2018-10-17 16:49:11 +00:00
natd Move the rc framework out of sbin/init into libexec/rc. 2018-10-17 16:49:11 +00:00
netif rc.d/netif: Don't DAD if lo0 is the only IPv6 IF 2023-05-18 08:20:15 -07:00
netoptions Run netoptions startup script in vnet jails. 2020-01-08 23:34:50 +00:00
netwait When booting a system with WITHOUT_IPFILTER the following errors 2020-08-11 23:36:38 +00:00
NETWORKING Move the rc framework out of sbin/init into libexec/rc. 2018-10-17 16:49:11 +00:00
newsyslog Introduce startmsg and use it in rc scripts 2022-03-13 18:57:29 +01:00
nfscbd Move the rc framework out of sbin/init into libexec/rc. 2018-10-17 16:49:11 +00:00
nfsclient Introduce startmsg and use it in rc scripts 2022-03-13 18:57:29 +01:00
nfsd rc.d: Fix NFS server startup scripts to enable vnet prison use 2023-03-12 14:34:25 -07:00
nfsuserd rc.d: Fix NFS server startup scripts to enable vnet prison use 2023-03-12 14:34:25 -07:00
nisdomain Move the rc framework out of sbin/init into libexec/rc. 2018-10-17 16:49:11 +00:00
nscd Move the rc framework out of sbin/init into libexec/rc. 2018-10-17 16:49:11 +00:00
ntpd ntpd(8): Correct a typo in comment of the rc script 2022-09-04 13:02:21 +02:00
ntpdate Move the rc framework out of sbin/init into libexec/rc. 2018-10-17 16:49:11 +00:00
opensm Move the rc framework out of sbin/init into libexec/rc. 2018-10-17 16:49:11 +00:00
os-release Introduce startmsg and use it in rc scripts 2022-03-13 18:57:29 +01:00
pf Introduce startmsg and use it in rc scripts 2022-03-13 18:57:29 +01:00
pflog Move the rc framework out of sbin/init into libexec/rc. 2018-10-17 16:49:11 +00:00
pfsync Move the rc framework out of sbin/init into libexec/rc. 2018-10-17 16:49:11 +00:00
power_profile Move the rc framework out of sbin/init into libexec/rc. 2018-10-17 16:49:11 +00:00
powerd Revert "When stopping powerd, set the CPU frequency back to its maximum value" 2023-05-25 09:40:26 -04:00
ppp rc.d/*: Use startmsg instead of echo on start messages 2022-03-13 18:57:31 +01:00
pppoed rc.d/*: Use startmsg instead of echo on start messages 2022-03-13 18:57:31 +01:00
pwcheck Move the rc framework out of sbin/init into libexec/rc. 2018-10-17 16:49:11 +00:00
quota Move the rc framework out of sbin/init into libexec/rc. 2018-10-17 16:49:11 +00:00
random rc.d/random: add support for zero harvest_mask 2021-05-26 18:30:24 +07:00
rarpd Move the rc framework out of sbin/init into libexec/rc. 2018-10-17 16:49:11 +00:00
rctl rc.d/rctl: unbreak for distinct /usr filesystem 2021-11-20 15:56:43 +07:00
resolv Move the rc framework out of sbin/init into libexec/rc. 2018-10-17 16:49:11 +00:00
rfcomm_pppd_server rc.d/*: Use startmsg instead of echo on start messages 2022-03-13 18:57:31 +01:00
root Move the rc framework out of sbin/init into libexec/rc. 2018-10-17 16:49:11 +00:00
route6d Move the rc framework out of sbin/init into libexec/rc. 2018-10-17 16:49:11 +00:00
routed rc: replace NETWORK with NETWORKING 2021-04-12 15:28:48 +01:00
routing Add support for adding default routes for other FIBs 2021-05-12 01:59:10 +00:00
rpcbind Move the rc framework out of sbin/init into libexec/rc. 2018-10-17 16:49:11 +00:00
rtadvd Move the rc framework out of sbin/init into libexec/rc. 2018-10-17 16:49:11 +00:00
rtsold Move the rc framework out of sbin/init into libexec/rc. 2018-10-17 16:49:11 +00:00
rwho Move the rc framework out of sbin/init into libexec/rc. 2018-10-17 16:49:11 +00:00
savecore Introduce startmsg and use it in rc scripts 2022-03-13 18:57:29 +01:00
sdpd Move the rc framework out of sbin/init into libexec/rc. 2018-10-17 16:49:11 +00:00
securelevel rc.d: unbreak sysctl lastload 2021-05-19 20:02:31 +07:00
sendmail Move the rc framework out of sbin/init into libexec/rc. 2018-10-17 16:49:11 +00:00
serial Move the rc framework out of sbin/init into libexec/rc. 2018-10-17 16:49:11 +00:00
SERVERS Rename etc/rc.d/abi to etc/rc.d/linux; after moving out the SysV IPC stuff 2019-10-02 11:40:40 +00:00
sshd sshd: Warn about missing ssh-keygen only when necessary 2020-04-15 14:07:33 +00:00
statd mountd: Delay starting mountd until after mountlate 2022-01-23 14:17:40 -08:00
static_arp Move the rc framework out of sbin/init into libexec/rc. 2018-10-17 16:49:11 +00:00
static_ndp Move the rc framework out of sbin/init into libexec/rc. 2018-10-17 16:49:11 +00:00
stf Move the rc framework out of sbin/init into libexec/rc. 2018-10-17 16:49:11 +00:00
swap Move the rc framework out of sbin/init into libexec/rc. 2018-10-17 16:49:11 +00:00
swaplate Move the rc framework out of sbin/init into libexec/rc. 2018-10-17 16:49:11 +00:00
syscons rc: syscons: Add UEFI special case 2023-02-08 08:53:20 +01:00
sysctl Move the rc framework out of sbin/init into libexec/rc. 2018-10-17 16:49:11 +00:00
sysctl_lastload rc.d: unbreak sysctl lastload 2021-05-19 20:02:31 +07:00
syslogd Move the rc framework out of sbin/init into libexec/rc. 2018-10-17 16:49:11 +00:00
sysvipc rc: remove the 'archdep' script 2021-04-12 15:18:17 +01:00
tlsclntd nfs-over-tls: add rc scripts for rpc.tlsclntd and rpc.tlsservd 2021-02-18 14:38:01 -08:00
tlsservd rc.d: Fix NFS server startup scripts to enable vnet prison use 2023-03-12 14:34:25 -07:00
tmp Remove dependency on files in /usr/bin 2021-01-19 12:56:23 +01:00
ubthidhci Move the rc framework out of sbin/init into libexec/rc. 2018-10-17 16:49:11 +00:00
ugidfw Move the rc framework out of sbin/init into libexec/rc. 2018-10-17 16:49:11 +00:00
utx utx: Allow disabling user accounting 2023-02-08 08:52:54 +01:00
var Move the rc framework out of sbin/init into libexec/rc. 2018-10-17 16:49:11 +00:00
var_run rc.d/var_run: Add needed "shutdown" keyword 2022-09-20 11:44:11 -07:00
virecover Move the rc framework out of sbin/init into libexec/rc. 2018-10-17 16:49:11 +00:00
watchdogd add ability to set watchdog timeout for a shutdown 2019-10-03 11:23:10 +00:00
wpa_supplicant rc: Chase bfb202c455 and remove ifconfig down/up for wpa_supplicant 2023-03-24 10:07:29 -07:00
ypbind Move the rc framework out of sbin/init into libexec/rc. 2018-10-17 16:49:11 +00:00
ypldap Move the rc framework out of sbin/init into libexec/rc. 2018-10-17 16:49:11 +00:00
yppasswdd Move the rc framework out of sbin/init into libexec/rc. 2018-10-17 16:49:11 +00:00
ypserv Move the rc framework out of sbin/init into libexec/rc. 2018-10-17 16:49:11 +00:00
ypset Move the rc framework out of sbin/init into libexec/rc. 2018-10-17 16:49:11 +00:00
ypupdated Move the rc framework out of sbin/init into libexec/rc. 2018-10-17 16:49:11 +00:00
ypxfrd Move the rc framework out of sbin/init into libexec/rc. 2018-10-17 16:49:11 +00:00
zfs zfskeys: Support autoloading of keys stored on ZFS 2022-03-18 14:53:52 +01:00
zfsbe rc.d/zfsbe: Simplify 2023-05-01 15:02:53 -06:00
zfsd rc.d: Chmod +x all the scripts for consistency 2022-03-17 20:12:04 +01:00
zfskeys Add zfskeys rc.d script for auto-loading encryption keys 2021-07-28 16:26:45 +00:00
zpool wait for device mounts in zpool and dumpon 2021-04-05 09:25:04 -07:00
zpoolreguid rc: Fix quoting in the zpoolreguid script 2022-05-31 10:51:28 -04:00
zpoolupgrade rc(8): Add a zpoolupgrade rc.d script 2022-11-07 11:30:09 +08:00
zvol Make zpool on GELI work again. 2020-09-04 23:36:43 +00:00