MODDEDWARFARE / PPPwn_WRT

A method of running PPPwn on OpenWRT
54 stars 8 forks source link

Update install.sh #8

Closed DzikiSzogun closed 1 month ago

DzikiSzogun commented 1 month ago

Auto disabling WAN and WIFI interface to prevent Internet access to prefent accidental PS4 system updates before jailbreaking

Same as run.sh into #6 & #7 pull requests

@MODDEDWARFARE - Due to MIPS issues I cannot fully test this. Requires additional testing. However, it would be nice to block Internet access when the router starts up

DzikiSzogun commented 1 month ago
  1. I added CHMOD +X for stage1/stage2.bin for 9.00 and 11.00

  2. I set it so that the user who enters incorrect data will be asked until the correct data is entered (e.g. "be-lan" instead of "br-lan" and to be compatible with the user's existing network interfaces from the ip lan command.

  3. I set the same for firmware selection and firmware selection. The user is prompted until he selects the appropriate firmware option. I also added the option to enter 1100 instead of just 11.00

  4. In order for the user to determine whether they want to run it at startup, I also added it to ask the user whether it is successful, regardless of whether they type in lowercase/uppercase/mixed letters.

  5. In the last stage of installation, there was an incorrect use case. It has not been taken into account that the user may run install.sh more than once, if only to prevent the script from running at startup. That's why I added an entry with comment hashtag (#) to /etc/rc.local

Sorry for my bad English ;)