2019-03-03

This commit is contained in:
monlor
2019-03-03 21:05:38 +08:00
parent beed117298
commit cf48f81f17
54 changed files with 32 additions and 26 deletions

View File

@@ -3,5 +3,5 @@ appname="miwifi"
needver="0.0.1"
supports="linux_arm,linux_mips"
appinfo="小米路由器系统管理修改samba禁用系统更新等"
newinfo=""
version="0.0.3"
newinfo="现在修复小米路由器远程访问会自动开放8098端口"
version="0.0.4"

View File

@@ -1 +0,0 @@
1.0.7

View File

@@ -59,6 +59,7 @@ enable_remote_web() {
mount --bind ${mbtmp}/miwifi-webinitrd.conf /etc/sysapihttpd/miwifi-webinitrd.conf
/etc/init.d/sysapihttpd restart &> /dev/null
remote_text="启动"
iptables -I INPUT -p tcp --dport 8098 -j ACCEPT &> /dev/null
fi
}
@@ -66,6 +67,7 @@ disable_remote_web() {
umount -lf /etc/sysapihttpd/miwifi-webinitrd.conf &> /dev/null
rm -rf ${mbtmp}/miwifi-webinitrd.conf &> /dev/null
remote_text="禁用"
iptables -D INPUT -p tcp --dport 8098 -j ACCEPT &> /dev/null
}
start() {