update dc1svr

This commit is contained in:
paldier 2019-02-12 19:55:38 +08:00
parent 7366046abd
commit a65ced97dd
7 changed files with 10 additions and 10 deletions

View File

@ -1,8 +1,8 @@
{
"version":"1.0",
"md5":"b37ec8cf65292a9f0d734257ba329e29",
"md5":"f68ae16aeda08671d0210772cdc6c218",
"home_url":"Module_dc1svr.asp",
"title":"dc1服务器",
"description":"dc1服务器",
"build_date":"2019-02-12_19:35:05"
"build_date":"2019-02-12_19:53:36"
}

Binary file not shown.

View File

@ -4,7 +4,7 @@ enable=`dbus get dc1svr_enable`
if [ "$enable" == "1" ];then
restart=1
dbus set dc1svr_enable=0
sh /jffs/softcenter/scripts/dc1.sh
sh /jffs/softcenter/scripts/dc1svr.sh
fi
# cp files
@ -26,6 +26,6 @@ dbus set softcenter_module_dc1svr_name=dc1svr
dbus set softcenter_module_dc1svr_title="dc1服务器"
if [ "$restart" == "1" ];then
dbus set dc1svr_enable=1
sh /jffs/softcenter/scripts/dc1.sh
sh /jffs/softcenter/scripts/dc1svr.sh
fi

View File

@ -5,6 +5,7 @@ source /jffs/softcenter/scripts/base.sh
CONFIG_FILE=/tmp/etc/dnsmasq.user/dc1.conf
start_dc1(){
cd /jffs/softcenter/bin/
/jffs/softcenter/bin/dc1svr &
echo "address=/Smartplugconnect.phicomm.com/$(nvram get lan_ipaddr)" > $CONFIG_FILE
service restart_dnsmasq

View File

@ -51,8 +51,7 @@
});
}
function onSubmitCtrl(o, s) {
document.form.action_mode.value = s;
function onSubmitCtrl() {
showLoading(3);
document.form.submit();
}
@ -94,7 +93,7 @@
<input type="hidden" name="next_page" value="Module_dc1svr.asp" />
<input type="hidden" name="group_id" value="" />
<input type="hidden" name="modified" value="0" />
<input type="hidden" name="action_mode" value="" />
<input type="hidden" name="action_mode" value="toolscript" />
<input type="hidden" name="action_script" value="dc1svr.sh" />
<input type="hidden" name="action_wait" value="5" />
<input type="hidden" name="first_time" value="" />

View File

@ -1,2 +1,2 @@
1.0
b37ec8cf65292a9f0d734257ba329e29
f68ae16aeda08671d0210772cdc6c218

View File

@ -101,10 +101,10 @@
"version": "1.5"
},
{
"build_date": "2019-02-12_19:35:05",
"build_date": "2019-02-12_19:53:36",
"description": "dc1服务器",
"home_url": "Module_dc1svr.asp",
"md5": "b37ec8cf65292a9f0d734257ba329e29",
"md5": "f68ae16aeda08671d0210772cdc6c218",
"name": "dc1svr",
"tar_url": "dc1svr/dc1svr.tar.gz",
"title": "dc1服务器",