tl-wr841nd-webflash 15940.bin
Firmware Mod Kit (extract) v0.65 beta, (c)2010 Jeremy Collake
http://www.bitsum.com
./extract_firmware.sh: 114: Syntax error: "else" unexpected
Why this?
My guess is that your platform is incompatible. Use a different OS to run the Firmware Mod Kit, then *maybe* it will work for you. Ubuntu is tested and known to work fine, so long as the proper packages are installed. Of course, not all firmware images are supported either. Sometimes people add support, but strangely nobody ever 'gives back' and submits patches -- they just leave it up to me to do everything. Typical I guess, and I am acting abnormally offering up stuff for free.
Just add dummy echo between "then" and "else" on line 114 in "extract_firmware.sh" script:
if [ $? != 0 ]; then
#echo " WARNING: Not recognized by splitter3";
# exit 1
add this ===> echo ""
else
Ah, so some shells apparently disallow empty if clauses. I will fix internally.
I had a user add support for the new squashfs-lzma variant used by opener (simple), but he didn't bother submitting a patch. That kind of stuff upsets me. I guess not everyone gives a rats ass about anyone else. I will add this too whenever I get time.