update v2ray

This commit is contained in:
paldier 2019-02-12 10:28:14 +08:00
parent bb78a6a707
commit f2f731813e
7 changed files with 12 additions and 12 deletions

View File

@ -7,6 +7,8 @@ softcenter_install() {
cp -rf /tmp/softcenter/bin/* /jffs/softcenter/bin/ cp -rf /tmp/softcenter/bin/* /jffs/softcenter/bin/
cp -rf /tmp/softcenter/perp/* /jffs/softcenter/perp/ cp -rf /tmp/softcenter/perp/* /jffs/softcenter/perp/
cp -rf /tmp/softcenter/scripts/* /jffs/softcenter/scripts/ cp -rf /tmp/softcenter/scripts/* /jffs/softcenter/scripts/
mkdir /jffs/softcenter/lib/
cp -rf /tmp/softcenter/lib/* /jffs/softcenter/lib/
chmod 755 /jffs/softcenter/bin/* chmod 755 /jffs/softcenter/bin/*
chmod 755 /jffs/softcenter/perp/* chmod 755 /jffs/softcenter/perp/*
chmod 755 /jffs/softcenter/perp/.boot/* chmod 755 /jffs/softcenter/perp/.boot/*

View File

@ -1,8 +1,8 @@
{ {
"version":"4.13.0", "version":"4.13.0",
"md5":"9ef8deadd029b47b4bf59a2c7f9b8a96", "md5":"72a421802e093e7cc52d89c8e05a5bbf",
"home_url":"Module_v2ray.asp", "home_url":"Module_v2ray.asp",
"title":"v2ray", "title":"v2ray",
"description":"v2ray", "description":"v2ray",
"build_date":"2019-01-29_20:02:27" "build_date":"2019-02-04_20:27:44"
} }

Binary file not shown.

View File

@ -192,7 +192,7 @@ service restart_dnsmasq
/jffs/softcenter/scripts/v2ray_mon.sh & /jffs/softcenter/scripts/v2ray_mon.sh &
logger -t "v2ray" "守护进程启动" logger -t "v2ray" "守护进程启动"
echo "$(date "+%F %T"): 守护进程启动" >> /tmp/v2ray.log
if [ "$all_proxy" = "1" ] ;then if [ "$all_proxy" = "1" ] ;then
@ -246,6 +246,7 @@ if [ "$udp_enable" == "1" ] ;then
fi fi
fi fi
logger -t "v2ray" "启动完毕!" logger -t "v2ray" "启动完毕!"
echo "$(date "+%F %T"): 启动完毕" >> /tmp/v2ray.log
exit 0 exit 0
fi fi

View File

@ -285,6 +285,7 @@ killall -q -9 v2ray_mon.sh >/dev/null 2>&1 && killall v2ray_mon.sh >/dev/null 2>
killall -q -9 dns2socks 2>/dev/null && killall dns2socks 2>/dev/null killall -q -9 dns2socks 2>/dev/null && killall dns2socks 2>/dev/null
killall -q -9 v2ray 2>/dev/null && killall v2ray 2>/dev/null killall -q -9 v2ray 2>/dev/null && killall v2ray 2>/dev/null
killall -q pdnsd 2>/dev/null killall -q pdnsd 2>/dev/null
/jffs/softcenter/scripts/v2ray-rules.sh clean 2>/dev/null
service restart_dnsmasq >/dev/null 2>&1 service restart_dnsmasq >/dev/null 2>&1
[ "-e /jffs/softcenter/init.d/S99v2ray.sh" ] && rm -rf /jffs/softcenter/init.d/S99v2ray.sh [ "-e /jffs/softcenter/init.d/S99v2ray.sh" ] && rm -rf /jffs/softcenter/init.d/S99v2ray.sh
} }

View File

@ -177,9 +177,7 @@ if (E("v2ray_use_json").checked == true){
return false; return false;
} }
} }
document.form.save_name.disabled=true; showLoading(5);
document.form.save_content.disabled=true;
showLoading(1);
document.form.submit(); document.form.submit();
} }
function reload_Soft_Center() { function reload_Soft_Center() {
@ -306,7 +304,7 @@ function verifyFields(r) {
<div id="TopBanner"></div> <div id="TopBanner"></div>
<div id="Loading" class="popup_bg"></div> <div id="Loading" class="popup_bg"></div>
<iframe name="hidden_frame" id="hidden_frame" width="0" height="0" frameborder="0"></iframe> <iframe name="hidden_frame" id="hidden_frame" width="0" height="0" frameborder="0"></iframe>
<form method="post" name="form" action="/applydb.cig?p=v2ray" target="hidden_frame"> <form method="post" name="form" action="/applydb.cgi?p=v2ray" target="hidden_frame">
<input type="hidden" name="productid" value="<% nvram_get("productid"); %>"> <input type="hidden" name="productid" value="<% nvram_get("productid"); %>">
<input type="hidden" name="current_page" value="Module_v2ray.asp"> <input type="hidden" name="current_page" value="Module_v2ray.asp">
<input type="hidden" name="next_page" value="Module_v2ray.asp"> <input type="hidden" name="next_page" value="Module_v2ray.asp">
@ -322,9 +320,7 @@ function verifyFields(r) {
<input type="hidden" name="ss_foreign_state" value="<% nvram_get("ss_foreign_state"); %>"> <input type="hidden" name="ss_foreign_state" value="<% nvram_get("ss_foreign_state"); %>">
<input type="hidden" name="v2ray_dns" value="<% dbus_get_def("v2ray_dns", "0"); %>"> <input type="hidden" name="v2ray_dns" value="<% dbus_get_def("v2ray_dns", "0"); %>">
<input type="hidden" name="v2ray_use_json" value="<% dbus_get_def("v2ray_use_json", "0"); %>"> <input type="hidden" name="v2ray_use_json" value="<% dbus_get_def("v2ray_use_json", "0"); %>">
<input type="hidden" name="v2ray_json" value="<% dbus_get_def("v2ray_use_json", "0"); %>"> <input type="hidden" name="v2ray_json" value="<% dbus_get_def("v2ray_json", ""); %>">
<input type="hidden" name="save_name" value="">
<input type="hidden" name="save_content" value="">
<table class="content" align="center" cellpadding="0" cellspacing="0" > <table class="content" align="center" cellpadding="0" cellspacing="0" >
<tr> <tr>
<td width="17">&nbsp;</td> <td width="17">&nbsp;</td>

View File

@ -1,2 +1,2 @@
4.13.0 4.13.0
9ef8deadd029b47b4bf59a2c7f9b8a96 72a421802e093e7cc52d89c8e05a5bbf