File tree Expand file tree Collapse file tree 2 files changed +25
-3
lines changed
Expand file tree Collapse file tree 2 files changed +25
-3
lines changed Original file line number Diff line number Diff line change 33
44chmod +x " ${TARGET_DIR} /etc/init.d/S50pppwn"
55
6- # Remove conflicting grub.cfg from target directory
7- rm -f " ${TARGET_DIR} /boot/grub/grub.cfg"
6+ # Ensure boot/grub directory exists
7+ mkdir -p " ${TARGET_DIR} /boot/grub"
8+
9+ # Create the correct grub.cfg for initrd
10+ cat > " ${TARGET_DIR} /boot/grub/grub.cfg" << EOF
11+ set default="0"
12+ set timeout="5"
13+
14+ if [ "\$ {grub_platform}" = "efi" ]; then
15+ set prefix=(cd0)/boot/grub
16+ menuentry "PPPwnLive" {
17+ linux (cd0)/boot/bzImage root=/dev/ram0 console=tty1
18+ initrd (cd0)/boot/initrd
19+ }
20+ else
21+ set prefix=(cd)/boot/grub
22+ menuentry "PPPwnLive" {
23+ linux (cd)/boot/bzImage root=/dev/ram0 console=tty1
24+ initrd (cd)/boot/initrd
25+ }
26+ fi
27+ EOF
Original file line number Diff line number Diff line change 88Welcome to PPPwnLive! Please make sure to have your Ethernet cable plugged in and connected to the PlayStation 4.
99
1010Credits:
11+ - SoftwareRat (https://github.com/SoftwareRat/pppwn_live) for creating this project
1112- xfangfang (https://github.com/xfangfang/PPPwn_cpp) for developing the C++ version of PPPwn
1213- TheFloW (https://github.com/TheOfficialFloW/PPPwn) for the original discovery and creation of PPPwn
13- - SiSTR0 (https://github.com/GoldHEN/GoldHEN) for developing GoldHEN
14+ - SiSTR0 (https://github.com/GoldHEN/GoldHEN) for developing GoldHEN
15+
You can’t perform that action at this time.
0 commit comments