Merge Lean's source
This commit is contained in:
commit
5fa83b37d3
7
README
7
README
@ -28,9 +28,10 @@ sudo apt-get -y install build-essential asciidoc binutils bzip2 gawk gettext git
|
||||
|
||||
特别提示:
|
||||
1.源代码中绝不含任何后门和可以监控或者劫持你的 HTTPS 的闭源软件,SSL 安全是互联网最后的壁垒。安全干净才是固件应该做到的;
|
||||
2.你可以根据这个源代码自由修改/发布你编译后的固件,但不能编译后反过来说我抄你的你才是原创;
|
||||
3.所以如果你是 Mike Bill ,本人不欢迎你使用/用过本源代码,因为这样会导致你的亲妈原地爆炸;
|
||||
4.如有技术问题需要讨论,欢迎加入 QQ 讨论群:OP共享技术交流群 ,号码 297253733 ,加群链接: 点击链接加入群聊【OP共享技术交流群】:https://jq.qq.com/?_wv=1027&k=5yCRuXL
|
||||
2.如有技术问题需要讨论,欢迎加入 QQ 讨论群:OP共享技术交流群 ,号码 297253733 ,加群链接: 点击链接加入群聊【OP共享技术交流群】:https://jq.qq.com/?_wv=1027&k=5yCRuXL
|
||||
3. 想学习OpenWrt开发,但是摸不着门道?自学没毅力?基础太差?怕太难学不会?跟着佐大学OpenWrt开发入门培训班助你能学有所成
|
||||
报名地址:http://forgotfun.org/2018/04/openwrt-training-2018.html
|
||||
|
||||
|
||||
Please use "make menuconfig" to choose your preferred
|
||||
configuration for the toolchain and firmware.
|
||||
|
||||
@ -27,11 +27,6 @@ sed -i 's/\"services\"/\"nas\"/g' /usr/lib/lua/luci/controller/usb_printer.lua
|
||||
sed -i 's/\"services\"/\"nas\"/g' /usr/lib/lua/luci/controller/xunlei.lua
|
||||
sed -i 's/services/nas/g' /usr/lib/lua/luci/view/minidlna_status.htm
|
||||
|
||||
uci set minidlna.config.enabled=0
|
||||
uci commit minidlna
|
||||
/etc/init.d/minidlna enable
|
||||
/etc/init.d/minidlna stop
|
||||
|
||||
ln -sf /sbin/ip /usr/bin/ip
|
||||
|
||||
sed -i 's#http://downloads.openwrt.org#https://mirrors.ustc.edu.cn/lede#g' /etc/opkg/distfeeds.conf
|
||||
@ -40,12 +35,6 @@ sed -i 's|root:x:0:0:root:/root:/bin/ash|root:x:0:0:root:/root:/bin/bash|g' /etc
|
||||
|
||||
sed -i "s/# //g" /etc/opkg/distfeeds.conf
|
||||
|
||||
uci set dhcp.lan.ra='server'
|
||||
uci set dhcp.lan.dhcpv6='server'
|
||||
uci set dhcp.lan.ra_management='1'
|
||||
uci set dhcp.lan.ra_default='1'
|
||||
uci commit dhcp
|
||||
|
||||
sed -i '/REDIRECT --to-ports 53/d' /etc/firewall.user
|
||||
echo "iptables -t nat -A PREROUTING -p udp --dport 53 -j REDIRECT --to-ports 53" >> /etc/firewall.user
|
||||
echo "iptables -t nat -A PREROUTING -p tcp --dport 53 -j REDIRECT --to-ports 53" >> /etc/firewall.user
|
||||
|
||||
Loading…
Reference in New Issue
Block a user