Moved more ZFS things into 'zfs.sh'
This commit is contained in:
14
install.sh
14
install.sh
@@ -140,18 +140,10 @@ elif [[ "${ID}" == 'fedora' ]]; then
|
||||
"${baseDir}/fedora.sh" --dracut
|
||||
fi
|
||||
|
||||
zfs \
|
||||
set \
|
||||
org.zfsbootmenu:commandline='quiet splash rhgb noresume' \
|
||||
${hostname,,}/ROOT/${ID}
|
||||
"${baseDir}/zfs.sh" --splash
|
||||
|
||||
if [[ ! "${*}" = *--no-part* ]]; then
|
||||
if [[ ! -z "$(zfs list | grep 'keystore')" ]]; then
|
||||
zfs \
|
||||
set \
|
||||
org.zfsbootmenu:keysource=${hostname,,}/keystore \
|
||||
${hostname,,}
|
||||
fi
|
||||
if [[ ! -z "$(zfs list | grep 'keystore')" ]]; then
|
||||
"${baseDir}/zfs.sh" --keystore
|
||||
fi
|
||||
|
||||
if [[ ! "${*}" = *--no-part* ]]; then
|
||||
|
||||
Reference in New Issue
Block a user