diff --git a/softcenter/app.json.js b/softcenter/app.json.js index ee989d5..41096aa 100644 --- a/softcenter/app.json.js +++ b/softcenter/app.json.js @@ -11,9 +11,14 @@ "version": "0.2.3" }, { + "build_date": "2018-12-08_00:04:35", + "description": "shadowsocks", + "home_url": "Main_Ss_Content.asp", + "md5": "cf64c5749a42228b932f8568e9f563e9", "name": "shadowsocks", "tar_url": "shadowsocks/shadowsocks.tar.gz", - "title": "shadowsocks" + "title": "shadowsocks", + "version": "3.0.4" }, { "build_date": "2017-05-03_19:15:58", @@ -27,14 +32,14 @@ "version": "1.0.0" }, { - "build_date": "2016-09-01_17:21:04", + "build_date": "2019-01-12_19:22:11", "description": "老板,来一斤虚拟内存~", "home_url": "Module_swap.asp", - "md5": "852a398f732af3508c83a6d3ca91f25d", + "md5": "4ea389360d37f7ff9d2d4046b43be59b", "name": "swap", "tar_url": "swap/swap.tar.gz", "title": "虚拟内存", - "version": "1.8" + "version": "2.2" }, { "build_date": "2017-06-06_01:02:58", @@ -87,21 +92,6 @@ "title": "DDnspod", "version": "0.1.3" }, - { - "name": "tunnel", - "tar_url": "tunnel/tunnel.tar.gz", - "title": "tunnel" - }, - { - "build_date": "2016-09-01_17:20:46", - "description": "让分流更简单", - "home_url": "Module_policy_route.asp", - "md5": "3112c34fa479156b5872ae700b7015b3", - "name": "dualwan", - "tar_url": "dualwan/dualwan.tar.gz", - "title": "策略路由", - "version": "0.6" - }, { "build_date": "2016-09-16_10:11:21", "description": "广告屏蔽大师", @@ -114,7 +104,7 @@ } ], "home_url": "https://raw.githubusercontent.com/paldier/softcenter/master", - "md5": "3242715f2a71bec3ffc70252f92c977b", + "md5": "3bb44fca41795904e2490e728c7138ed", "tar_url": "softcenter/softcenter.tar.gz", "version": "1.1.6" } \ No newline at end of file diff --git a/softcenter/config.json.js b/softcenter/config.json.js index 01603cb..7aa39e7 100644 --- a/softcenter/config.json.js +++ b/softcenter/config.json.js @@ -1,4 +1,4 @@ { "version":"1.1.6", -"md5":"3242715f2a71bec3ffc70252f92c977b" +"md5":"3bb44fca41795904e2490e728c7138ed" } diff --git a/softcenter/softcenter.tar.gz b/softcenter/softcenter.tar.gz index 6951c23..dbcc272 100644 Binary files a/softcenter/softcenter.tar.gz and b/softcenter/softcenter.tar.gz differ diff --git a/softcenter/softcenter/bin/perpboot b/softcenter/softcenter/bin/perpboot old mode 100644 new mode 100755 index c4a51be..02df7cd Binary files a/softcenter/softcenter/bin/perpboot and b/softcenter/softcenter/bin/perpboot differ diff --git a/softcenter/softcenter/bin/perpctl b/softcenter/softcenter/bin/perpctl old mode 100644 new mode 100755 index 89afdfe..43a69ff Binary files a/softcenter/softcenter/bin/perpctl and b/softcenter/softcenter/bin/perpctl differ diff --git a/softcenter/softcenter/bin/perpd b/softcenter/softcenter/bin/perpd old mode 100644 new mode 100755 index 00a5768..65f43e4 Binary files a/softcenter/softcenter/bin/perpd and b/softcenter/softcenter/bin/perpd differ diff --git a/softcenter/softcenter/bin/perphup b/softcenter/softcenter/bin/perphup old mode 100644 new mode 100755 index 9304fb2..94b7063 Binary files a/softcenter/softcenter/bin/perphup and b/softcenter/softcenter/bin/perphup differ diff --git a/softcenter/softcenter/bin/perpls b/softcenter/softcenter/bin/perpls old mode 100644 new mode 100755 index 0682610..3e2149d Binary files a/softcenter/softcenter/bin/perpls and b/softcenter/softcenter/bin/perpls differ diff --git a/softcenter/softcenter/bin/perpok b/softcenter/softcenter/bin/perpok old mode 100644 new mode 100755 index 54a3fbc..ef95c9c Binary files a/softcenter/softcenter/bin/perpok and b/softcenter/softcenter/bin/perpok differ diff --git a/softcenter/softcenter/bin/perpstat b/softcenter/softcenter/bin/perpstat old mode 100644 new mode 100755 index 466e0d0..bed3d05 Binary files a/softcenter/softcenter/bin/perpstat and b/softcenter/softcenter/bin/perpstat differ diff --git a/softcenter/softcenter/bin/sissylog b/softcenter/softcenter/bin/sissylog old mode 100644 new mode 100755 index 8b75fce..fb582c5 Binary files a/softcenter/softcenter/bin/sissylog and b/softcenter/softcenter/bin/sissylog differ diff --git a/softcenter/softcenter/bin/tinylog b/softcenter/softcenter/bin/tinylog old mode 100644 new mode 100755 index ab4678e..a1fc9c8 Binary files a/softcenter/softcenter/bin/tinylog and b/softcenter/softcenter/bin/tinylog differ diff --git a/softcenter/softcenter/install.sh b/softcenter/softcenter/install.sh index 888232b..67c7041 100755 --- a/softcenter/softcenter/install.sh +++ b/softcenter/softcenter/install.sh @@ -11,10 +11,9 @@ softcenter_install() { chmod 755 /jffs/softcenter/perp/* chmod 755 /jffs/softcenter/perp/.boot/* chmod 755 /jffs/softcenter/perp/.control/* - chmod 755 /jffs/softcenter/perp/adm/* rm -rf /tmp/softcenter if [ ! -f "/jffs/softcenter/init.d/S10Softcenter.sh" ]; then - ln -sf /jffs/softcenter/scripts/app_install.sh /jffs/softcenter/init.d/S10Softcenter.sh + ln -sf /jffs/softcenter/scripts/ks_app_install.sh /jffs/softcenter/init.d/S10Softcenter.sh fi fi } diff --git a/softcenter/softcenter/perp/adm/rc.log b/softcenter/softcenter/perp/adm/rc.log deleted file mode 100755 index 92dcc08..0000000 --- a/softcenter/softcenter/perp/adm/rc.log +++ /dev/null @@ -1,6 +0,0 @@ -#!/bin/sh -if test ${1} = 'start' ; then - exec tinylog -k 5 -t /var/log/${2} -fi - -exit 0 diff --git a/softcenter/softcenter/perp/adm/rc.main b/softcenter/softcenter/perp/adm/rc.main deleted file mode 100755 index fe29c6c..0000000 --- a/softcenter/softcenter/perp/adm/rc.main +++ /dev/null @@ -1,10 +0,0 @@ -#!/bin/sh -adm_enable=`dbus get adm_enable` -exec 2>&1 -if test ${1} = 'start' ; then - if [ "$adm_enable" == "1" ];then - exec /jffs/softcenter/adm/ADM - fi -fi - -exit 0 diff --git a/softcenter/softcenter/perp/perp.sh b/softcenter/softcenter/perp/perp.sh index bbd6cde..bf89dc0 100755 --- a/softcenter/softcenter/perp/perp.sh +++ b/softcenter/softcenter/perp/perp.sh @@ -1,7 +1,7 @@ #!/bin/sh source /jffs/softcenter/scripts/base.sh -export PERP_BASE=/koolshare/perp +export PERP_BASE=/jffs/softcenter/perp case $ACTION in start) diff --git a/softcenter/softcenter/scripts/ks_app_install.sh b/softcenter/softcenter/scripts/ks_app_install.sh index 1887167..0b3c568 100755 --- a/softcenter/softcenter/scripts/ks_app_install.sh +++ b/softcenter/softcenter/scripts/ks_app_install.sh @@ -231,12 +231,15 @@ uninstall_module() { rm -f /jffs/softcenter/webs/Module_$softcenter_installing_todo.asp rm -f /jffs/softcenter/init.d/S*$softcenter_installing_todo.sh fi + curl -s http://sc.paldier.com/"$softcenter_installing_module"/"$softcenter_installing_module"/install.sh >/dev/null 2>&1 } -LOGGER $BIN_NAME +#LOGGER $BIN_NAME case $BIN_NAME in start) + sh /jffs/softcenter/perp/perp.sh stop sh /jffs/softcenter/perp/perp.sh start + dbus set softcenter_installing_status=1 ;; update) install_module diff --git a/softcenter/softcenter/webs/Main_Soft_center.asp b/softcenter/softcenter/webs/Main_Soft_center.asp index c5bfacf..ec23d5c 100644 --- a/softcenter/softcenter/webs/Main_Soft_center.asp +++ b/softcenter/softcenter/webs/Main_Soft_center.asp @@ -20,6 +20,7 @@ + + + + + + + + + + + + + + +
+ + + +
+ + + + + + + + + "/> + "/> + + + + + + +
  + + + + + + + + + +
+ + + + +
+
 
+
虚拟内存
+
+
+
创建虚拟内存,让路由运行更顺畅
+
当前版本:<% dbus_get_def("swap_version", "0"); %>
+
+
  • 创建虚拟内存,你需要一个空的、已经格式化成ext2|3|4格式的U盘;
  • +
  • 如果你通过其它方式创建了虚拟内存,可以不用使用该工具,或者删除后再使用本工具。
  • +
  • 建议使用游戏模式V2,aria2等应用的用户开启虚拟内存!
  • +
    + +
    + + + + + + + + + + + + + + + + + + +
    创建虚拟内存
    + + +
    检测状态中 ...
    +
    虚拟内存使用率<% sysinfo("memory.swap.used"); %> / <% sysinfo("memory.swap.total"); %> MB
    虚拟内存大小 + +
    +
    + + +
    +
    +
    +
    论坛技术支持: www.koolshare.cn
    + 后台技术支持: Xiaobao
    + Shell, Web by: Sadoneli
    +
    修改版 by: paldier +
    + +
    +
    +
    +
    + + + + diff --git a/swap/version b/swap/version new file mode 100644 index 0000000..9370c75 --- /dev/null +++ b/swap/version @@ -0,0 +1,2 @@ +2.2 +4ea389360d37f7ff9d2d4046b43be59b