Optional steps for users with "Mega" (like me)
The steps below are only applicable if you used the Mega version as your base.While we have used the "mini" version up until now, some of you may be in possession of a "Mega" capable router (like me).
Personally I found that while Mega has some really nice packages integrated into it out of the box, some are completely useless for my setup, and just take up precious potential JFFS space.
The packages include:
- sputnik,chilli,splashd - Host spot management & "Captive Portal" packages.
- pound - a reverse proxy for load balancing.
- kaid - a connector to a global gaming network for game consoles.
- milkfish, asterisk, openser - SIP implementations.
Warning: we will delete everything to do with these packages other then the web pages. this is because, for various reasons, DD-WRT pre-compiles the ASP pages directly into the apache binary, making it impossible to remove them with the mod-kit alone. (yes this was deliberate :\ ).
Therefore it is up to you to remember not to use the web-GUI options, for the packages above.
If your uncertain that you can do this, you may opt to use the "standard" version as your base instead of Mega, or simply skip this procedure.
To delete the packages (despite leaving the web-GUI configurations in place) issue the following commands:
rm ./working_dir*/rootfs/usr/sbin/sputnik rm ./working_dir*/rootfs/usr/sbin/splashd rm ./working_dir*/rootfs/usr/sbin/pound rm ./working_dir*/rootfs/usr/sbin/kaid rm ./working_dir*/rootfs/usr/sbin/chilli for i in $( find ./ -name *milkfish* ); do ll $i ;rm -rfv $i ; done for i in $( find ./ -name *asterisk* ); do ll $i ;rm -rfv $i ; done for i in $( find ./ -name *openser* ); do ll $i ;rm -rfv $i ; done
原文地址: