Based on http://patchwork.openwrt.org/patch/2256/ by Moritz Warning <moritzwarning@web.de> SVN-Revision: 32571