Removed unneeded bits that served no function
This commit is contained in:
@@ -34,11 +34,6 @@ if [[ ! -f "/etc/mtab" ]]; then
|
|||||||
"${baseDir}/mtab.sh"
|
"${baseDir}/mtab.sh"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [[ "${ID}" == 'debian' ]] || [[ "${ID}" == 'elementary' ]]; then
|
|
||||||
apt \
|
|
||||||
update
|
|
||||||
fi
|
|
||||||
|
|
||||||
if [[ "${ID}" == 'fedora' ]]; then
|
if [[ "${ID}" == 'fedora' ]]; then
|
||||||
if [[ "${encryption}" == 'yes' ]]; then
|
if [[ "${encryption}" == 'yes' ]]; then
|
||||||
cat << EOF | tee /etc/dracut.conf.d/zol.conf &> /dev/null
|
cat << EOF | tee /etc/dracut.conf.d/zol.conf &> /dev/null
|
||||||
@@ -146,9 +141,7 @@ if [[ ! -z "$(zfs list | grep 'keystore')" ]]; then
|
|||||||
"${baseDir}/zfs.sh" --keystore
|
"${baseDir}/zfs.sh" --keystore
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [[ ! "${*}" = *--no-part* ]]; then
|
"${baseDir}/efi.sh"
|
||||||
"${baseDir}/efi.sh"
|
|
||||||
fi
|
|
||||||
|
|
||||||
if [[ "${ID}" == 'debian' ]] || [[ "${ID}" == 'elementary' ]]; then
|
if [[ "${ID}" == 'debian' ]] || [[ "${ID}" == 'elementary' ]]; then
|
||||||
"${baseDir}/debian.sh" --systemctl-enable
|
"${baseDir}/debian.sh" --systemctl-enable
|
||||||
|
|||||||
@@ -60,9 +60,7 @@ if [[ "${ID}" == 'debian' ]] || [[ "${ID}" == 'elementary' ]]; then
|
|||||||
"${baseDir}/apt-snapshot.sh"
|
"${baseDir}/apt-snapshot.sh"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# if [[ ! "${*}" = *--no-part* ]]; then
|
"${baseDir}/home-fix-setup.sh"
|
||||||
"${baseDir}/home-fix-setup.sh"
|
|
||||||
# fi
|
|
||||||
|
|
||||||
if [[ ! -f '/usr/bin/shutdown' ]]; then
|
if [[ ! -f '/usr/bin/shutdown' ]]; then
|
||||||
ln -s /sbin/shutdown /usr/bin/shutdown
|
ln -s /sbin/shutdown /usr/bin/shutdown
|
||||||
|
|||||||
Reference in New Issue
Block a user