History log of /dflybsd-src/etc/rc.d/cryptdisks (Results 1 – 6 of 6)
Revision Date Author Comments
# ce083385 27-Feb-2024 Aaron LI <aly@aaronly.me>

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 entrie

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.

show more ...


# e54c8dc8 27-Feb-2024 Aaron LI <aly@aaronly.me>

rc.d: Various style and whitespace cleanups

No functional changes.


# 0e7badd4 27-Mar-2018 Aaron LI <aly@aaronly.me>

rc.subr: Add _rc_subr_loaded to avoid sourcing it again

* Once /etc/rc.subr been sourced, $_rc_subr_loaded="YES", then /etc/rc.subr
takes care of avoiding sourcing it again. (obtained from FreeBSD

rc.subr: Add _rc_subr_loaded to avoid sourcing it again

* Once /etc/rc.subr been sourced, $_rc_subr_loaded="YES", then /etc/rc.subr
takes care of avoiding sourcing it again. (obtained from FreeBSD)

* Remove the unnecessary "$_rc_subr_loaded" prefix from several rc scripts,
which also make the "$_rc_subr_loaded . /etc/rc.subr" command fail.

show more ...


# 667a7e9f 24-Jan-2011 Sascha Wildner <saw@online.de>

Clean up the cryptdisks rc script a bit.

* When checking for dm(4), redirect stderr to /dev/null, too.

* Clarify the failure message.

* Remove empty REQUIRE.

* Don't check for /sbin/cryptdisks be

Clean up the cryptdisks rc script a bit.

* When checking for dm(4), redirect stderr to /dev/null, too.

* Clarify the failure message.

* Remove empty REQUIRE.

* Don't check for /sbin/cryptdisks being executable, just assume it is.

* Uniformly use TAB for indenting.

show more ...


# eed01794 23-Oct-2010 Alex Hornung <ahornung@gmail.com>

cryptdisks rc.d - remove rcvar

* Remove the rc variable to enable cryptdisks so that it always runs.
It'll just check for the crypttab file, and if it isn't present, it
doesn't do anything.


# bda92397 22-Oct-2010 Alex Hornung <ahornung@gmail.com>

cryptdisks - A small tool to parse /etc/crypttab