initrd.scripts: move zfs_real_root_init outside real_root_init

master
Fabio Erculiani 12 years ago
parent 6b29188ee3
commit 9d66471c26

@ -22,9 +22,6 @@ real_root_init() {
if [ -z "${REAL_ROOTFLAGS}" ]; then
REAL_ROOTFLAGS="${FAKE_ROOTFLAGS}"
fi
# let zfs code setup its parameters
zfs_real_root_init
}
bootstrap_key() {

@ -240,7 +240,9 @@ done
quiet_kmsg
is_livecd || real_root_init
is_livecd || {
real_root_init && zfs_real_root_init;
}
cmdline_hwopts

Loading…
Cancel
Save