发布时间:2015-06-16 15:14:19
点击(此处)折叠或打开function action_flashops()local e=require"luci.sys"local t=require"nixio.fs"local i=t.access("/lib/upgrade/platform.sh")local o=os.execute([[grep '"rootfs_data"' /proc/mtd >/dev/null 2>&1]])==0.........【阅读全文】
发布时间:2015-06-15 22:14:54
【Receive from 192.168.1.1 : 45194】:uh_dispatch_request--> cl: socket = 4, req: 0, url = /bsedit/edit.html, status = 200, pin:phys = /www/bsedit/edit.html, name = /bsedit/edit.html, info = (null) File:uhttpd.c, Line:644【Receive from 192.168.1.1 : 58083】:uh_dispatch_request--> cl: socket = ......【阅读全文】
发布时间:2015-06-15 20:06:32
----- 源码部分#define UH_LIMIT_MSGHEAD 4096 //文件最大长度#define array_size(x) (sizeof(x) / sizeof(x[0]))#define foreach_header(i, h) for( i = 0; (i + 1) < (sizeof(h) / sizeof(h[0])) && h[i]; i += 2 )#define fd_cloexec(fd) fcntl(fd, F_SETFD, fcntl(fd, F_GETFD) | FD_CLOEXEC)#define ensure_out(x) do......【阅读全文】
发布时间:2015-06-15 19:37:47
/etc/init.d/uhttpd stopopkg install /xutest/uhttpd_31_ar71xx.ipkopkg install /xutest/uhttpd_xu1_ar71xx.ipk/etc/init.d/uhttpd enable/etc/init.d/uhttpd start【Receive from 192.168.1.1 : 47881】:uhttpd mainloop-->#192.168.1.1/xutest/web-cgi.html【Receive from 192.168.1.1 : 58907】:uh_http_header_parse--......【阅读全文】
发布时间:2015-06-14 22:47:17
学习的资料 http://wiki.openwrt.org/zh-cn/doc/howto/starthttp://wiki.openwrt.org/doc/techref/start......【阅读全文】