Xentrk
Part of the Furniture
x3mRouting Version 2.4.5 (23 May, 2021) Updates
Primary updates are some code revisions that most will not notice. The new feature is the "del=force" parameter and can be used in place of the "del" parameter. See complete description below.
x3mRouting.sh
+ Add new 'del=force' parameter. 'del=force' **will not** prompt for permission before deleting a configuration file or IPSET save/restore backup file if only a shebang exists.
+ Removed unnecessary 2nd grep check for "ipset_name=IPSET_LIST" when 'del' or 'del=force' specified.
x3mMenu Updates
+ Update /jffs/scripts/openvpn-event entry made by x3mRouting. Implement best coding practice of first checking for the existance of /jffs/scripts/x3mRouting/openvpn-event before attempting to execute.
+ Check if the last line in /jffs/scripts/openvpn-event equals "exit 0" before appending x3mRouting entry. If "exit 0" exists, move the "exit 0" entry to the last line in the file after adding the x3mRouting entry.
Select Option 7 from the x3mMenu to update the x3mMenu. Then, select option 5 to update x3mRouting.sh script.
Update x3mMenu
Update x3mRouting.sh
Primary updates are some code revisions that most will not notice. The new feature is the "del=force" parameter and can be used in place of the "del" parameter. See complete description below.
x3mRouting.sh
+ Add new 'del=force' parameter. 'del=force' **will not** prompt for permission before deleting a configuration file or IPSET save/restore backup file if only a shebang exists.
+ Removed unnecessary 2nd grep check for "ipset_name=IPSET_LIST" when 'del' or 'del=force' specified.
x3mMenu Updates
+ Update /jffs/scripts/openvpn-event entry made by x3mRouting. Implement best coding practice of first checking for the existance of /jffs/scripts/x3mRouting/openvpn-event before attempting to execute.
+ Check if the last line in /jffs/scripts/openvpn-event equals "exit 0" before appending x3mRouting entry. If "exit 0" exists, move the "exit 0" entry to the last line in the file after adding the x3mRouting entry.
Select Option 7 from the x3mMenu to update the x3mMenu. Then, select option 5 to update x3mRouting.sh script.
Update x3mMenu
Code:
# x3mMenu
_______________________________________________________________________
| |
| Welcome to the x3mRouting Installation Menu |
| Version 2.4.4 by Xentrk |
| ____ _ _ |
| |__ | | | | | |
| __ __ _| |_ _ _ | |_ ___ | | __ ____ ____ _ _ _ |
| \ \/ / |_ | ` ` \ __|/ _ \| |/ / / _// \| ` ` \ |
| / / __| | | | | |_ | __/| < ( (_ | [] || | | | |
| /_/\_\|___ |_|_|_|\___|\___||_|\_\[] \___\\____/|_|_|_| |
|_____________________________________________________________________|
| |
| Requirements: jffs partition and USB drive with entware installed |
| |
| See the project repository at |
| https://github.com/Xentrk/x3mRouting |
| for helpful tips. |
|_____________________________________________________________________|
[1] Install LAN Client Routing
[2] Install OpenVPN Client GUI, OpenVPN Event & x3mRouting.sh Script
[3] Install OpenVPN Event & x3mRouting.sh Script
[4] Install x3mRouting Utility Scripts
[5] Check for updates to existing x3mRouting installation
[6] Remove x3mRouting Repository
[7] Update x3mRouting Menu
[n del] Uninstall Option Number
[e] Exit x3mMenu
Option ==> 7
An updated version of the x3mRouting menu as been detected
Updating the x3mRouting menu is highly recommended.
Would you like to download the new version now?
[1] --> Yes
[2] --> No
[1-2]: 1
x3mRouting_Menu.sh downloaded successfully
x3mRouting Installation Menu update completed 5292dba4533e56454a5ab120c84a8895
Press enter to continue
Update x3mRouting.sh
Code:
_______________________________________________________________________
| |
| Welcome to the x3mRouting Installation Menu |
| Version 2.4.5 by Xentrk |
| ____ _ _ |
| |__ | | | | | |
| __ __ _| |_ _ _ | |_ ___ | | __ ____ ____ _ _ _ |
| \ \/ / |_ | ` ` \ __|/ _ \| |/ / / _// \| ` ` \ |
| / / __| | | | | |_ | __/| < ( (_ | [] || | | | |
| /_/\_\|___ |_|_|_|\___|\___||_|\_\[] \___\\____/|_|_|_| |
|_____________________________________________________________________|
| |
| Requirements: jffs partition and USB drive with entware installed |
| |
| See the project repository at |
| https://github.com/Xentrk/x3mRouting |
| for helpful tips. |
|_____________________________________________________________________|
[1] Install LAN Client Routing
[2] Install OpenVPN Client GUI, OpenVPN Event & x3mRouting.sh Script
[3] Install OpenVPN Event & x3mRouting.sh Script
[4] Install x3mRouting Utility Scripts
[5] Check for updates to existing x3mRouting installation
[6] Remove x3mRouting Repository
[n del] Uninstall Option Number
[e] Exit x3mMenu
Option ==> 5
This option will check your current installation and update any files that have changed
since you last installed the repository. Updating is highly recommended to get the most recent.
files. Chosing this option will not update missing files. Select the install option from the
menu to reinstall missing files
Would you like to check and download any files that have been updated?
[1] --> Yes
[2] --> No
[1-2]: 1