#!/bin/sh	
uci batch <<EOF
set uhttpd.nzbgetweb=uhttpd
set uhttpd.nzbgetweb.listen_http=0.0.0.0:8008
set uhttpd.nzbgetweb.script_timeout=60
set uhttpd.nzbgetweb.network_timeout=30
set uhttpd.nzbgetweb.interpreter=.php=/usr/bin/php-cgi
set uhttpd.nzbgetweb.home=/www/nzbgetweb
set uhttpd.nzbgetweb.index_page=index.php
commit uhttpd
EOF
/etc/init.d/uhttpd restart
echo "Bind your browser to router IP with port 8008"
