mirror of
https://github.com/tsingui/softcenter-1.git
synced 2024-12-23 10:35:17 +00:00
update dc1svr
This commit is contained in:
parent
7366046abd
commit
a65ced97dd
@ -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.
@ -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
|
||||
|
||||
|
@ -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
|
||||
|
@ -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="" />
|
||||
|
@ -1,2 +1,2 @@
|
||||
1.0
|
||||
b37ec8cf65292a9f0d734257ba329e29
|
||||
f68ae16aeda08671d0210772cdc6c218
|
||||
|
@ -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服务器",
|
||||
|
Loading…
Reference in New Issue
Block a user