00-crypt.sh: move ${CRYPTSETUP_BIN} variable from initrd.defaults

master
Fabio Erculiani 11 years ago
parent ac3822ad30
commit 6938105c74

@ -5,6 +5,8 @@
. /etc/initrd.d/00-splash.sh . /etc/initrd.d/00-splash.sh
. /etc/initrd.d/00-fsdev.sh . /etc/initrd.d/00-fsdev.sh
CRYPTSETUP_BIN="/sbin/cryptsetup"
_bootstrap_key() { _bootstrap_key() {
local ltype="${1}" local ltype="${1}"
local keydevs=$(device_list) local keydevs=$(device_list)

@ -67,8 +67,6 @@ PLYMOUTHD_BIN="/sbin/plymouthd"
PLYMOUTH_BIN="/bin/plymouth" PLYMOUTH_BIN="/bin/plymouth"
[ ! -e "${PLYMOUTH_BIN}" ] && PLYMOUTH_BIN="/usr/bin/plymouth" [ ! -e "${PLYMOUTH_BIN}" ] && PLYMOUTH_BIN="/usr/bin/plymouth"
CRYPTSETUP_BIN="/sbin/cryptsetup"
REAL_ROOT="" REAL_ROOT=""
CONSOLE="/dev/console" CONSOLE="/dev/console"
NEW_ROOT="/newroot" NEW_ROOT="/newroot"

Loading…
Cancel
Save