mirror of
https://github.com/tsingui/softcenter-1.git
synced 2024-11-15 02:15:18 +00:00
update dc1svr
This commit is contained in:
parent
7366046abd
commit
a65ced97dd
@ -1,8 +1,8 @@
|
|||||||
{
|
{
|
||||||
"version":"1.0",
|
"version":"1.0",
|
||||||
"md5":"b37ec8cf65292a9f0d734257ba329e29",
|
"md5":"f68ae16aeda08671d0210772cdc6c218",
|
||||||
"home_url":"Module_dc1svr.asp",
|
"home_url":"Module_dc1svr.asp",
|
||||||
"title":"dc1服务器",
|
"title":"dc1服务器",
|
||||||
"description":"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
|
if [ "$enable" == "1" ];then
|
||||||
restart=1
|
restart=1
|
||||||
dbus set dc1svr_enable=0
|
dbus set dc1svr_enable=0
|
||||||
sh /jffs/softcenter/scripts/dc1.sh
|
sh /jffs/softcenter/scripts/dc1svr.sh
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# cp files
|
# cp files
|
||||||
@ -26,6 +26,6 @@ dbus set softcenter_module_dc1svr_name=dc1svr
|
|||||||
dbus set softcenter_module_dc1svr_title="dc1服务器"
|
dbus set softcenter_module_dc1svr_title="dc1服务器"
|
||||||
if [ "$restart" == "1" ];then
|
if [ "$restart" == "1" ];then
|
||||||
dbus set dc1svr_enable=1
|
dbus set dc1svr_enable=1
|
||||||
sh /jffs/softcenter/scripts/dc1.sh
|
sh /jffs/softcenter/scripts/dc1svr.sh
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
@ -5,6 +5,7 @@ source /jffs/softcenter/scripts/base.sh
|
|||||||
CONFIG_FILE=/tmp/etc/dnsmasq.user/dc1.conf
|
CONFIG_FILE=/tmp/etc/dnsmasq.user/dc1.conf
|
||||||
|
|
||||||
start_dc1(){
|
start_dc1(){
|
||||||
|
cd /jffs/softcenter/bin/
|
||||||
/jffs/softcenter/bin/dc1svr &
|
/jffs/softcenter/bin/dc1svr &
|
||||||
echo "address=/Smartplugconnect.phicomm.com/$(nvram get lan_ipaddr)" > $CONFIG_FILE
|
echo "address=/Smartplugconnect.phicomm.com/$(nvram get lan_ipaddr)" > $CONFIG_FILE
|
||||||
service restart_dnsmasq
|
service restart_dnsmasq
|
||||||
|
@ -51,8 +51,7 @@
|
|||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
function onSubmitCtrl(o, s) {
|
function onSubmitCtrl() {
|
||||||
document.form.action_mode.value = s;
|
|
||||||
showLoading(3);
|
showLoading(3);
|
||||||
document.form.submit();
|
document.form.submit();
|
||||||
}
|
}
|
||||||
@ -94,7 +93,7 @@
|
|||||||
<input type="hidden" name="next_page" value="Module_dc1svr.asp" />
|
<input type="hidden" name="next_page" value="Module_dc1svr.asp" />
|
||||||
<input type="hidden" name="group_id" value="" />
|
<input type="hidden" name="group_id" value="" />
|
||||||
<input type="hidden" name="modified" value="0" />
|
<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_script" value="dc1svr.sh" />
|
||||||
<input type="hidden" name="action_wait" value="5" />
|
<input type="hidden" name="action_wait" value="5" />
|
||||||
<input type="hidden" name="first_time" value="" />
|
<input type="hidden" name="first_time" value="" />
|
||||||
|
@ -1,2 +1,2 @@
|
|||||||
1.0
|
1.0
|
||||||
b37ec8cf65292a9f0d734257ba329e29
|
f68ae16aeda08671d0210772cdc6c218
|
||||||
|
@ -101,10 +101,10 @@
|
|||||||
"version": "1.5"
|
"version": "1.5"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"build_date": "2019-02-12_19:35:05",
|
"build_date": "2019-02-12_19:53:36",
|
||||||
"description": "dc1服务器",
|
"description": "dc1服务器",
|
||||||
"home_url": "Module_dc1svr.asp",
|
"home_url": "Module_dc1svr.asp",
|
||||||
"md5": "b37ec8cf65292a9f0d734257ba329e29",
|
"md5": "f68ae16aeda08671d0210772cdc6c218",
|
||||||
"name": "dc1svr",
|
"name": "dc1svr",
|
||||||
"tar_url": "dc1svr/dc1svr.tar.gz",
|
"tar_url": "dc1svr/dc1svr.tar.gz",
|
||||||
"title": "dc1服务器",
|
"title": "dc1服务器",
|
||||||
|
Loading…
Reference in New Issue
Block a user