1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 |
# cryptdisks - enable encrypted block devices description "enable encrypted block devices" start on block-device-added ID_FS_USAGE=crypto instance $DEVNAME task console output script [ -r /lib/cryptsetup/cryptdisks.functions ] || { stop; exit 0; } . /lib/cryptsetup/cryptdisks.functions case "$CRYPTDISKS_ENABLE" in [Nn]*) exit 1 ;; esac INITSTATE=udev crypttab_start_one_disk "$DEVNAME" end script |