freebsd-dev/libexec/rc
Mike Karels d670a8f7c5 growfs_fstab: add new /etc/rc.d script to add swap to fstab
The growfs_fstab script is a helper for the growfs script to add any
new swap partition to /etc/fstab on first boot.  If growfs adds a
swap partition, it sets growfs_swap_pdev in the kenv.   In this case,
after the root file system is read/write, if there is no swap partition
in the fstab, growfs_fstab adds growfs_swap as a swap partition to the
fstab.  Also, it runs dumpon to add the swap partition  (as this
happened earlier in the startup sequence).

Discussed with:	cperciva
Differential Revision:	https://reviews.freebsd.org/D37463
2022-12-10 13:39:59 -06:00
..
rc.d growfs_fstab: add new /etc/rc.d script to add swap to fstab 2022-12-10 13:39:59 -06:00
tests rc: Start testing the rc(8) framework (beginning with *_oomprotect) 2022-07-26 15:39:39 +02:00
Makefile rc.sendmail: remove unused script 2022-11-09 16:55:18 +01:00
netstart Retire synchronous PPP kernel driver sppp(4). 2021-10-22 11:41:36 -07:00
network.subr rc: network.subr improve network6_getladdr() 2021-12-13 22:12:44 +00:00
pccard_ether
rc rc: Allow the removal of firstboot_sentinel on read-only file systems 2022-02-10 12:43:19 -07:00
rc.bsdextended pkgbase: Really move rc.bsdextended 2019-05-22 07:39:59 +00:00
rc.conf sendmail: revert to use use NONE 2022-12-05 17:23:08 +01:00
rc.firewall rc.firewall: Merge two identical conditions into one. 2020-07-23 15:03:28 +00:00
rc.initdiskless Make mdmfs verbose if diskless boot is verbose. 2019-04-26 14:44:50 +00:00
rc.resume rcorder(8): add support for /etc/rc.resume, so it calls "rcorder -k resume" 2018-10-27 17:21:13 +00:00
rc.shutdown rc.shutdown: kill shutdown process after logging message 2019-12-07 00:33:08 +00:00
rc.subr rc.conf(5): add <service>_umask to run the service using this value 2022-08-28 12:48:58 +07:00
rc.suspend