diff --git a/package/Lienol/luci-app-passwall/root/usr/share/passwall/monitor.sh b/package/Lienol/luci-app-passwall/root/usr/share/passwall/monitor.sh deleted file mode 100755 index 62cc9a1c06..0000000000 --- a/package/Lienol/luci-app-passwall/root/usr/share/passwall/monitor.sh +++ /dev/null @@ -1,76 +0,0 @@ -#!/bin/sh - -CONFIG=passwall -CONFIG_PATH=/var/etc/$CONFIG - -uci_get_by_name() { - local ret=$(uci get $CONFIG.$1.$2 2>/dev/null) - echo ${ret:=$3} -} - -uci_get_by_type() { - local ret=$(uci get $CONFIG.@$1[0].$2 2>/dev/null) - echo ${ret:=$3} -} - -TCP_REDIR_SERVER=$(uci_get_by_type global tcp_redir_server nil) -UDP_REDIR_SERVER=$(uci_get_by_type global udp_redir_server nil) -[ "$UDP_REDIR_SERVER" == "default" ] && UDP_REDIR_SERVER=$TCP_REDIR_SERVER -SOCKS5_PROXY_SERVER=$(uci_get_by_type global socks5_proxy_server nil) -dns_mode=$(uci_get_by_type global dns_mode) -use_haproxy=$(uci_get_by_type global_haproxy balancing_enable 0) -haproxy_port=$(uci_get_by_type global_haproxy haproxy_port) -use_kcp=$(uci_get_by_name $TCP_REDIR_SERVER use_kcp 0) -kcp_port=$(uci_get_by_type global_proxy kcptun_port 11183) - -#tcp -if [ $TCP_REDIR_SERVER != "nil" ] ;then - icount=`ps -w | grep -E "ss-redir|ssr-redir|v2ray" | grep $CONFIG_PATH/TCP.json | grep -v grep | wc -l` - if [ $icount = 0 ] ;then - /etc/init.d/passwall restart - exit 0 - fi -fi - -#udp -if [ $UDP_REDIR_SERVER != "nil" ] ;then - icount=`ps -w | grep -E "ss-redir|ssr-redir|v2ray" | grep $CONFIG_PATH/UDP.json | grep -v grep | wc -l` - if [ $icount = 0 ] ;then - /etc/init.d/passwall restart - exit 0 - fi -fi - -#socks5 -if [ $SOCKS5_PROXY_SERVER != "nil" ] ;then - icount=`ps -w | grep -E "ss-redir|ssr-redir|v2ray" | grep $CONFIG_PATH/SOCKS5.json | grep -v grep | wc -l` - if [ $icount = 0 ] ;then - /etc/init.d/passwall restart - exit 0 - fi -fi - -#dns -icount=`netstat -apn | grep 7913 | wc -l` -if [ $icount = 0 ] ;then - /etc/init.d/passwall restart - exit 0 -fi - -#kcptun -if [ $use_kcp -gt 0 ] ;then - icount=`ps -w | grep kcptun_client | grep $kcp_port |grep -v grep | wc -l` - if [ $icount = 0 ] ;then - /etc/init.d/passwall restart - exit 0 - fi -fi - -#haproxy -if [ $use_haproxy -gt 0 ] ;then - icount=`ps -w | grep haproxy | grep $haproxy_port | grep -v grep | wc -l` - if [ $icount = 0 ] ;then - /etc/init.d/passwall restart - exit 0 - fi -fi diff --git a/package/Lienol/luci-app-passwall/root/usr/share/passwall/rule_update.sh b/package/Lienol/luci-app-passwall/root/usr/share/passwall/rule_update.sh deleted file mode 100755 index d9977e9594..0000000000 --- a/package/Lienol/luci-app-passwall/root/usr/share/passwall/rule_update.sh +++ /dev/null @@ -1,224 +0,0 @@ -#!/bin/sh - -CONFIG=passwall -LOG_FILE=/var/log/$CONFIG.log -url_main="https://raw.githubusercontent.com/hq450/fancyss/master/rules" -SS_PATH=/usr/share/$CONFIG -DNSMASQ_PATH=$SS_PATH/dnsmasq.d -RULE_PATH=$SS_PATH/rule -Date=$(date "+%Y-%m-%d %H:%M:%S") - -update=$1 -gfwlist_update=0 -chnroute_update=0 -Pcap_Routing_update=0 -Pcap_WhiteList_update=0 -if [ -n "$update" ];then - [ -n "$(echo $update | grep "gfwlist_update")" ] && gfwlist_update=1 - [ -n "$(echo $update | grep "chnroute_update")" ] && chnroute_update=1 - [ -n "$(echo $update | grep "Pcap_Routing_update")" ] && Pcap_Routing_update=1 - [ -n "$(echo $update | grep "Pcap_WhiteList_update")" ] && Pcap_WhiteList_update=1 -else - gfwlist_update=`uci get $CONFIG.@global_rules[0].gfwlist_update` - chnroute_update=`uci get $CONFIG.@global_rules[0].chnroute_update` - Pcap_Routing_update=`uci get $CONFIG.@global_rules[0].Pcap_Routing_update` - Pcap_WhiteList_update=`uci get $CONFIG.@global_rules[0].Pcap_WhiteList_update` -fi - -if [ "$gfwlist_update" == 0 -a "$chnroute_update" == 0 -a "$Pcap_Routing_update" == 0 -a "$Pcap_WhiteList_update" == 0 ];then - exit -fi - -uci_get_by_type() { - local index=0 - if [ -n $4 ]; then - index=$4 - fi - local ret=$(uci get $CONFIG.@$1[$index].$2 2>/dev/null) - echo ${ret:=$3} -} - -# detect ss version -#ss_basic_version_web1=`curl -s https://raw.githubusercontent.com/monokoo/koolshare.github.io/acelan_softcenter_ui/shadowsocks/version | sed -n 1p` - -# rule update -echo $Date: 开始更新规则,请等待... > $LOG_FILE -#wget -q --no-check-certificate --timeout=15 https://raw.githubusercontent.com/monokoo/koolshare.github.io/acelan_softcenter_ui/maintain_files/version1 -O /tmp/version1 -#旧接口https://raw.githubusercontent.com/monokoo/koolshare.github.io/acelan_softcenter_ui/maintain_files/version1 -status1=`curl -w %{http_code} --connect-timeout 10 $url_main/version1 --silent -o /tmp/version1` -if [ -z "$status1" ] || [ "$status1" == "404" ];then - echo $Date: 无法访问更新接口,请更新接口! >> $LOG_FILE - exit -fi -online_content=$(cat /tmp/version1 2>/dev/null) -if [ -z "$online_content" ];then - rm -rf /tmp/version1 - echo $Date: 没有检测到在线版本,可能是访问github有问题,去大陆白名单模式试试吧! >> $LOG_FILE - exit -fi - -# update gfwlist -if [ "$gfwlist_update" == 1 ];then - gfwlist=$(cat /tmp/version1 | sed -n 1p) - version_gfwlist2=$(echo $gfwlist | sed 's/ /\n/g'| sed -n 1p) - md5sum_gfwlist2=$(echo $gfwlist | sed 's/ /\n/g'| tail -n 2 | head -n 1) - local_md5sum_gfwlist=`md5sum $DNSMASQ_PATH/gfwlist.conf |awk '{print $1}'` - if [ ! -z "$version_gfwlist2" ];then - version_gfwlist1=$(uci_get_by_type global_rules gfwlist_version) - if [ "$version_gfwlist1" != "$version_gfwlist2" -o "$md5sum_gfwlist2" != "$local_md5sum_gfwlist" ];then - echo $Date: 检测到新版本gfwlist,开始更新... >> $LOG_FILE - echo $Date: 下载gfwlist到临时文件... >> $LOG_FILE - #wget --no-check-certificate --timeout=15 -q https://raw.githubusercontent.com/monokoo/koolshare.github.io/acelan_softcenter_ui/maintain_files/gfwlist.conf -O /tmp/gfwlist.conf - #旧接口https://raw.githubusercontent.com/monokoo/koolshare.github.io/acelan_softcenter_ui/maintain_files/gfwlist.conf - status2=`curl -w %{http_code} --connect-timeout 10 $url_main/gfwlist.conf --silent -o /tmp/gfwlist.conf` - if [ -z "$status2" ] || [ "$status2" == "404" ];then - echo $Date: 无法访问更新接口,请更新接口! >> $LOG_FILE - exit - fi - md5sum_gfwlist1=$(md5sum /tmp/gfwlist.conf | sed 's/ /\n/g'| sed -n 1p) - if [ "$md5sum_gfwlist1"x = "$md5sum_gfwlist2"x ];then - echo $Date: 下载完成,校验通过,将临时文件覆盖到原始gfwlist文件 >> $LOG_FILE - mv /tmp/gfwlist.conf $DNSMASQ_PATH/gfwlist.conf - uci set $CONFIG.@global_rules[0].gfwlist_version=$version_gfwlist2 - rm -rf /tmp/dnsmasq.d/gfwlist.conf - reboot="1" - echo $Date: 你的gfwlist已经更新到最新了哦~ >> $LOG_FILE - else - echo $Date: 下载完成,但是校验没有通过! >> $LOG_FILE - fi - else - echo $Date: 检测到gfwlist本地版本号和在线版本号相同,不用更新! >> $LOG_FILE - fi - else - echo $Date: gfwlist文件下载失败! >> $LOG_FILE - fi - rm -rf /tmp/gfwlist.conf -fi - - -# update chnroute -if [ "$chnroute_update" == 1 ];then - chnroute=$(cat /tmp/version1 | sed -n 2p) - version_chnroute2=$(echo $chnroute | sed 's/ /\n/g'| sed -n 1p) - md5sum_chnroute2=$(echo $chnroute | sed 's/ /\n/g'| tail -n 2 | head -n 1) - local_md5sum_chnroute=`md5sum $RULE_PATH/chnroute |awk '{print $1}'` - if [ ! -z "$version_chnroute2" ];then - version_chnroute1=$(uci_get_by_type global_rules chnroute_version) - if [ "$version_chnroute1" != "$version_chnroute2" -o "$md5sum_chnroute2" != "$local_md5sum_chnroute" ];then - echo $Date: 检测到新版本chnroute,开始更新... >> $LOG_FILE - echo $Date: 下载chnroute到临时文件... >> $LOG_FILE - #wget --no-check-certificate --timeout=15 -q https://raw.githubusercontent.com/monokoo/koolshare.github.io/acelan_softcenter_ui/maintain_files/chnroute.txt -O /tmp/chnroute - #旧接口https://raw.githubusercontent.com/monokoo/koolshare.github.io/acelan_softcenter_ui/maintain_files/chnroute.txt - status3=`curl -w %{http_code} --connect-timeout 10 $url_main/chnroute.txt --silent -o /tmp/chnroute` - if [ -z "$status3" ] || [ "$status3" == "404" ];then - echo $Date: 无法访问更新接口,请更新接口! >> $LOG_FILE - exit - fi - md5sum_chnroute1=$(md5sum /tmp/chnroute | sed 's/ /\n/g'| sed -n 1p) - if [ "$md5sum_chnroute1"x = "$md5sum_chnroute2"x ];then - echo $Date: 下载完成,校验通过,将临时文件覆盖到原始chnroute文件 >> $LOG_FILE - mv /tmp/chnroute $RULE_PATH/chnroute - uci set $CONFIG.@global_rules[0].chnroute_version=$version_chnroute2 - ipset flush chnroute - ipset destroy chnroute - reboot="1" - echo $Date: 你的chnroute已经更新到最新了哦~ >> $LOG_FILE - else - echo $Date: 下载完成,但是校验没有通过! >> $LOG_FILE - fi - else - echo $Date: 检测到chnroute本地版本号和在线版本号相同,不用更新! >> $LOG_FILE - fi - else - echo $Date: chnroute文件下载失败! >> $LOG_FILE - fi - rm -rf /tmp/chnroute -fi - -# update Routing -if [ "$Pcap_Routing_update" == 1 ];then - Routing=$(cat /tmp/version1 | sed -n 5p) - version_Routing2=$(echo $Routing | sed 's/ /\n/g'| sed -n 1p) - md5sum_Routing2=$(echo $Routing | sed 's/ /\n/g'| tail -n 2 | head -n 1) - local_md5sum_Routing=`md5sum /etc/pcap-dnsproxy/Routing.txt |awk '{print $1}'` - if [ ! -z "$version_Routing2" ];then - version_Routing1=$(uci_get_by_type global_rules pcap_Routing_version) - if [ "$version_Routing1" != "$version_Routing2" -o "$md5sum_Routing2" != "$local_md5sum_Routing" ];then - echo $Date: 检测到新版本Routing,开始更新... >> $LOG_FILE - echo $Date: 下载Routing到临时文件... >> $LOG_FILE - status4=`curl -w %{http_code} --connect-timeout 10 $url_main/Routing.txt --silent -o /tmp/Routing.txt` - if [ -z "$status4" ] || [ "$status4" == "404" ];then - echo $Date: 无法访问更新接口,请更新接口! >> $LOG_FILE - exit - fi - md5sum_Routing1=$(md5sum /tmp/Routing.txt | sed 's/ /\n/g'| sed -n 1p) - if [ "$md5sum_Routing1"x = "$md5sum_Routing2"x ];then - echo $Date: 下载完成,校验通过,将临时文件覆盖到原始Routing文件 >> $LOG_FILE - mkdir -p /etc/pcap-dnsproxy - mv /tmp/Routing.txt /etc/pcap-dnsproxy/Routing.txt - uci set $CONFIG.@global_rules[0].pcap_Routing_version=$version_Routing2 - reboot="1" - echo $Date: 你的Routing已经更新到最新了哦~ >> $LOG_FILE - else - echo $Date: 下载完成,但是校验没有通过! >> $LOG_FILE - fi - else - echo $Date: 检测到Routing本地版本号和在线版本号相同,不用更新! >> $LOG_FILE - fi - else - echo $Date: Routing文件下载失败! >> $LOG_FILE - fi - rm -rf /tmp/Routing.txt -fi - -# update WhiteList -if [ "$Pcap_WhiteList_update" == 1 ];then - WhiteList=$(cat /tmp/version1 | sed -n 7p) - version_WhiteList2=$(echo $WhiteList | sed 's/ /\n/g'| sed -n 1p) - md5sum_WhiteList2=$(echo $WhiteList | sed 's/ /\n/g'| tail -n 2 | head -n 1) - local_md5sum_WhiteList=`md5sum /etc/pcap-dnsproxy/WhiteList.txt |awk '{print $1}'` - if [ ! -z "$version_WhiteList2" ];then - version_WhiteList1=$(uci_get_by_type global_rules pcap_WhiteList_version) - if [ "$version_WhiteList1" != "$version_WhiteList2" -o "$md5sum_WhiteList2" != "$local_md5sum_WhiteList" ];then - echo $Date: 检测到新版本WhiteList,开始更新... >> $LOG_FILE - echo $Date: 下载WhiteList到临时文件... >> $LOG_FILE - status4=`curl -w %{http_code} --connect-timeout 10 $url_main/WhiteList_new.txt --silent -o /tmp/WhiteList.txt` - if [ -z "$status4" ] || [ "$status4" == "404" ];then - echo $Date: 无法访问更新接口,请更新接口! >> $LOG_FILE - exit - fi - #wget --no-check-certificate --timeout=10 -qO - $url_main/WhiteList_new.txt > /tmp/WhiteList.txt - md5sum_WhiteList1=$(md5sum /tmp/WhiteList.txt | sed 's/ /\n/g'| sed -n 1p) - if [ "$md5sum_WhiteList1"x = "$md5sum_WhiteList2"x ];then - echo $Date: 下载完成,校验通过,将临时文件覆盖到原始WhiteList文件 >> $LOG_FILE - mkdir -p /etc/pcap-dnsproxy - mv /tmp/WhiteList.txt /etc/pcap-dnsproxy/WhiteList.txt - uci set $CONFIG.@global_rules[0].pcap_WhiteList_version=$version_WhiteList2 - reboot="1" - echo $Date: 你的WhiteList已经更新到最新了哦~ >> $LOG_FILE - else - echo $Date: 下载完成,但是校验没有通过! >> $LOG_FILE - fi - else - echo $Date: 检测到WhiteList本地版本号和在线版本号相同,不用更新! >> $LOG_FILE - fi - else - echo $Date: WhiteList文件下载失败! >> $LOG_FILE - fi - rm -rf /tmp/WhiteList.txt -fi - -echo $Date: 更新进程运行完毕! >> $LOG_FILE -rm -rf /tmp/version1 -# write number -uci set $CONFIG.@global_rules[0].gfwlist_update=$gfwlist_update -uci set $CONFIG.@global_rules[0].chnroute_update=$chnroute_update -uci set $CONFIG.@global_rules[0].Pcap_Routing_update=$Pcap_Routing_update -uci set $CONFIG.@global_rules[0].Pcap_WhiteList_update=$Pcap_WhiteList_update -uci commit -# reboot ss -if [ "$reboot" == "1" ];then -echo $Date: 重启软件,以应用新的规则文件!请稍后! >> $LOG_FILE -/etc/init.d/$CONFIG restart -fi -exit diff --git a/package/Lienol/brook/Makefile b/package/lienol/brook/Makefile similarity index 100% rename from package/Lienol/brook/Makefile rename to package/lienol/brook/Makefile diff --git a/package/Lienol/dns-forwarder/Makefile b/package/lienol/dns-forwarder/Makefile similarity index 100% rename from package/Lienol/dns-forwarder/Makefile rename to package/lienol/dns-forwarder/Makefile diff --git a/package/Lienol/dns-forwarder/files/dns-forwarder.config b/package/lienol/dns-forwarder/files/dns-forwarder.config similarity index 100% rename from package/Lienol/dns-forwarder/files/dns-forwarder.config rename to package/lienol/dns-forwarder/files/dns-forwarder.config diff --git a/package/Lienol/dns-forwarder/files/dns-forwarder.init b/package/lienol/dns-forwarder/files/dns-forwarder.init similarity index 100% rename from package/Lienol/dns-forwarder/files/dns-forwarder.init rename to package/lienol/dns-forwarder/files/dns-forwarder.init diff --git a/package/Lienol/dns2socks/Makefile b/package/lienol/dns2socks/Makefile similarity index 100% rename from package/Lienol/dns2socks/Makefile rename to package/lienol/dns2socks/Makefile diff --git a/package/Lienol/luci-app-passwall/Makefile b/package/lienol/luci-app-passwall/Makefile similarity index 99% rename from package/Lienol/luci-app-passwall/Makefile rename to package/lienol/luci-app-passwall/Makefile index ec79ad5207..d6c76f2694 100644 --- a/package/Lienol/luci-app-passwall/Makefile +++ b/package/lienol/luci-app-passwall/Makefile @@ -7,7 +7,7 @@ include $(TOPDIR)/rules.mk PKG_NAME:=luci-app-passwall PKG_VERSION:=2.0 -PKG_RELEASE:=80-20190824 +PKG_RELEASE:=86-20191024 PKG_BUILD_DIR := $(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION) PO2LMO:=./po2lmo diff --git a/package/Lienol/luci-app-passwall/luasrc/controller/passwall.lua b/package/lienol/luci-app-passwall/luasrc/controller/passwall.lua similarity index 98% rename from package/Lienol/luci-app-passwall/luasrc/controller/passwall.lua rename to package/lienol/luci-app-passwall/luasrc/controller/passwall.lua index 3e8b01fd9f..53bc0d48a8 100644 --- a/package/Lienol/luci-app-passwall/luasrc/controller/passwall.lua +++ b/package/lienol/luci-app-passwall/luasrc/controller/passwall.lua @@ -107,10 +107,10 @@ end function get_log() -- luci.sys.exec("[ -f /var/log/passwall.log ] && sed '1!G;h;$!d' /var/log/passwall.log > /var/log/passwall_show.log") - luci.http.write(luci.sys.exec("cat /var/log/passwall.log")) + luci.http.write(luci.sys.exec("[ -f '/var/log/passwall.log' ] && cat /var/log/passwall.log")) end -function clear_log() luci.sys.call("rm -rf > /var/log/passwall.log") end +function clear_log() luci.sys.call("echo '' > /var/log/passwall.log") end function server_status() local tcp_redir_port = luci.sys.exec( diff --git a/package/Lienol/luci-app-passwall/luasrc/model/cbi/passwall/acl.lua b/package/lienol/luci-app-passwall/luasrc/model/cbi/passwall/acl.lua similarity index 100% rename from package/Lienol/luci-app-passwall/luasrc/model/cbi/passwall/acl.lua rename to package/lienol/luci-app-passwall/luasrc/model/cbi/passwall/acl.lua diff --git a/package/Lienol/luci-app-passwall/luasrc/model/cbi/passwall/api/api.lua b/package/lienol/luci-app-passwall/luasrc/model/cbi/passwall/api/api.lua similarity index 100% rename from package/Lienol/luci-app-passwall/luasrc/model/cbi/passwall/api/api.lua rename to package/lienol/luci-app-passwall/luasrc/model/cbi/passwall/api/api.lua diff --git a/package/Lienol/luci-app-passwall/luasrc/model/cbi/passwall/api/brook.lua b/package/lienol/luci-app-passwall/luasrc/model/cbi/passwall/api/brook.lua similarity index 100% rename from package/Lienol/luci-app-passwall/luasrc/model/cbi/passwall/api/brook.lua rename to package/lienol/luci-app-passwall/luasrc/model/cbi/passwall/api/brook.lua diff --git a/package/Lienol/luci-app-passwall/luasrc/model/cbi/passwall/api/gen_v2ray_client_config_file.lua b/package/lienol/luci-app-passwall/luasrc/model/cbi/passwall/api/gen_v2ray_client_config_file.lua similarity index 100% rename from package/Lienol/luci-app-passwall/luasrc/model/cbi/passwall/api/gen_v2ray_client_config_file.lua rename to package/lienol/luci-app-passwall/luasrc/model/cbi/passwall/api/gen_v2ray_client_config_file.lua diff --git a/package/Lienol/luci-app-passwall/luasrc/model/cbi/passwall/api/kcptun.lua b/package/lienol/luci-app-passwall/luasrc/model/cbi/passwall/api/kcptun.lua similarity index 100% rename from package/Lienol/luci-app-passwall/luasrc/model/cbi/passwall/api/kcptun.lua rename to package/lienol/luci-app-passwall/luasrc/model/cbi/passwall/api/kcptun.lua diff --git a/package/Lienol/luci-app-passwall/luasrc/model/cbi/passwall/api/v2ray.lua b/package/lienol/luci-app-passwall/luasrc/model/cbi/passwall/api/v2ray.lua similarity index 100% rename from package/Lienol/luci-app-passwall/luasrc/model/cbi/passwall/api/v2ray.lua rename to package/lienol/luci-app-passwall/luasrc/model/cbi/passwall/api/v2ray.lua diff --git a/package/Lienol/luci-app-passwall/luasrc/model/cbi/passwall/auto_switch.lua b/package/lienol/luci-app-passwall/luasrc/model/cbi/passwall/auto_switch.lua similarity index 100% rename from package/Lienol/luci-app-passwall/luasrc/model/cbi/passwall/auto_switch.lua rename to package/lienol/luci-app-passwall/luasrc/model/cbi/passwall/auto_switch.lua diff --git a/package/Lienol/luci-app-passwall/luasrc/model/cbi/passwall/balancing.lua b/package/lienol/luci-app-passwall/luasrc/model/cbi/passwall/balancing.lua similarity index 100% rename from package/Lienol/luci-app-passwall/luasrc/model/cbi/passwall/balancing.lua rename to package/lienol/luci-app-passwall/luasrc/model/cbi/passwall/balancing.lua diff --git a/package/Lienol/luci-app-passwall/luasrc/model/cbi/passwall/global.lua b/package/lienol/luci-app-passwall/luasrc/model/cbi/passwall/global.lua similarity index 100% rename from package/Lienol/luci-app-passwall/luasrc/model/cbi/passwall/global.lua rename to package/lienol/luci-app-passwall/luasrc/model/cbi/passwall/global.lua diff --git a/package/Lienol/luci-app-passwall/luasrc/model/cbi/passwall/log.lua b/package/lienol/luci-app-passwall/luasrc/model/cbi/passwall/log.lua similarity index 100% rename from package/Lienol/luci-app-passwall/luasrc/model/cbi/passwall/log.lua rename to package/lienol/luci-app-passwall/luasrc/model/cbi/passwall/log.lua diff --git a/package/Lienol/luci-app-passwall/luasrc/model/cbi/passwall/other.lua b/package/lienol/luci-app-passwall/luasrc/model/cbi/passwall/other.lua similarity index 100% rename from package/Lienol/luci-app-passwall/luasrc/model/cbi/passwall/other.lua rename to package/lienol/luci-app-passwall/luasrc/model/cbi/passwall/other.lua diff --git a/package/Lienol/luci-app-passwall/luasrc/model/cbi/passwall/rule.lua b/package/lienol/luci-app-passwall/luasrc/model/cbi/passwall/rule.lua similarity index 100% rename from package/Lienol/luci-app-passwall/luasrc/model/cbi/passwall/rule.lua rename to package/lienol/luci-app-passwall/luasrc/model/cbi/passwall/rule.lua diff --git a/package/Lienol/luci-app-passwall/luasrc/model/cbi/passwall/rulelist.lua b/package/lienol/luci-app-passwall/luasrc/model/cbi/passwall/rulelist.lua similarity index 100% rename from package/Lienol/luci-app-passwall/luasrc/model/cbi/passwall/rulelist.lua rename to package/lienol/luci-app-passwall/luasrc/model/cbi/passwall/rulelist.lua diff --git a/package/Lienol/luci-app-passwall/luasrc/model/cbi/passwall/server_list.lua b/package/lienol/luci-app-passwall/luasrc/model/cbi/passwall/server_list.lua similarity index 100% rename from package/Lienol/luci-app-passwall/luasrc/model/cbi/passwall/server_list.lua rename to package/lienol/luci-app-passwall/luasrc/model/cbi/passwall/server_list.lua diff --git a/package/Lienol/luci-app-passwall/luasrc/model/cbi/passwall/serverconfig.lua b/package/lienol/luci-app-passwall/luasrc/model/cbi/passwall/serverconfig.lua similarity index 100% rename from package/Lienol/luci-app-passwall/luasrc/model/cbi/passwall/serverconfig.lua rename to package/lienol/luci-app-passwall/luasrc/model/cbi/passwall/serverconfig.lua diff --git a/package/Lienol/luci-app-passwall/luasrc/view/passwall/global/status.htm b/package/lienol/luci-app-passwall/luasrc/view/passwall/global/status.htm similarity index 83% rename from package/Lienol/luci-app-passwall/luasrc/view/passwall/global/status.htm rename to package/lienol/luci-app-passwall/luasrc/view/passwall/global/status.htm index df99204f5c..bd8bc64533 100644 --- a/package/Lienol/luci-app-passwall/luasrc/view/passwall/global/status.htm +++ b/package/lienol/luci-app-passwall/luasrc/view/passwall/global/status.htm @@ -14,7 +14,47 @@ local function has_udp_relay() end -%> -