Adamm
Part of the Furniture
Sorry, i'm a bit confused now, with your new code, some of the changes would be nice to know why they are made
Maybe an update of the main post, so everything is up to date? That would be a lot easier, rather than one having to read through the entire thread to gather bits of info..
The update is mainly just more efficient/cleaner code, it can also now be used without a USB/optware/entware and is self contained within the JFFS partition. Also a few other additional features like downloading an adding IPSets so you can have your regular blacklist functioning + other sets.
I removed a few functions like backing up IPSets to a remote server when it reaches the maxelem value (65535) so a new set can be created and virtually an unlimited amount of IP's can be banned without user interaction, along with a firmware auto-update feature as they were dependand on my build server and the backup feature required SSH keys. I will add them back once I find a better method to share with the public.
Hold the Phone... why does this script backup and flashes the bootoader?
Again, this is a personal script I pretty much throw all my automated tasks into. A few months ago when there was big discussion over changing the region in CFE to unlock more channels etc I wrote those functions as a minor "safeguard" to prevent flashing a CFE with bad values. All it does is compare the current CFE with a file named cfe.flash and check if all the important values were carried over to prevent bricking. The script is written using if statements so any functions can be removed without a rewrite.
Last edited: