diff --git a/dc1svr/config.json.js b/dc1svr/config.json.js index 73ce74d..8bcca56 100644 --- a/dc1svr/config.json.js +++ b/dc1svr/config.json.js @@ -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" } diff --git a/dc1svr/dc1svr.tar.gz b/dc1svr/dc1svr.tar.gz index 60553b0..c2fa448 100644 Binary files a/dc1svr/dc1svr.tar.gz and b/dc1svr/dc1svr.tar.gz differ diff --git a/dc1svr/dc1svr/install.sh b/dc1svr/dc1svr/install.sh index 1d38af7..1173a33 100644 --- a/dc1svr/dc1svr/install.sh +++ b/dc1svr/dc1svr/install.sh @@ -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 diff --git a/dc1svr/dc1svr/scripts/dc1svr.sh b/dc1svr/dc1svr/scripts/dc1svr.sh index 7e12fa1..6c8ffc2 100644 --- a/dc1svr/dc1svr/scripts/dc1svr.sh +++ b/dc1svr/dc1svr/scripts/dc1svr.sh @@ -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 diff --git a/dc1svr/dc1svr/webs/Module_dc1svr.asp b/dc1svr/dc1svr/webs/Module_dc1svr.asp index 0fb61a3..14d866d 100644 --- a/dc1svr/dc1svr/webs/Module_dc1svr.asp +++ b/dc1svr/dc1svr/webs/Module_dc1svr.asp @@ -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 @@ - + diff --git a/dc1svr/version b/dc1svr/version index 3050c5a..2263a3f 100644 --- a/dc1svr/version +++ b/dc1svr/version @@ -1,2 +1,2 @@ 1.0 -b37ec8cf65292a9f0d734257ba329e29 +f68ae16aeda08671d0210772cdc6c218 diff --git a/softcenter/app.json.js b/softcenter/app.json.js index 218de42..80cf95b 100644 --- a/softcenter/app.json.js +++ b/softcenter/app.json.js @@ -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服务器",