mirror of
https://github.com/kiddin9/openwrt-packages.git
synced 2025-01-08 13:27:48 +08:00
🤞 Sync 2024-08-05 05:54:20
This commit is contained in:
parent
22cd290766
commit
3ff84b1183
@ -162,7 +162,7 @@ amule() {
|
||||
}
|
||||
|
||||
start_service() {
|
||||
killall -3 -3 amuleweb >/dev/null 2>&1
|
||||
killall -3 amuleweb >/dev/null 2>&1
|
||||
config_load 'amule'
|
||||
config_foreach amule 'amule'
|
||||
}
|
||||
|
@ -10,7 +10,7 @@ include $(TOPDIR)/rules.mk
|
||||
|
||||
PKG_NAME:=luci-app-autorepeater
|
||||
PKG_VERSION:=0.2.3
|
||||
PKG_RELEASE:=12
|
||||
PKG_RELEASE:=13
|
||||
|
||||
PKG_LICENSE:=GPLv3
|
||||
PKG_LICENSE_FILES:=LICENSE
|
||||
|
@ -10,7 +10,7 @@ boot() {
|
||||
#return 0
|
||||
}
|
||||
reload() {
|
||||
#killall -3 -3 autorepeater_updater.sh 2>/dev/null
|
||||
#killall -3 autorepeater_updater.sh 2>/dev/null
|
||||
stop_daemon_for_all_autorepeater_sections 2>/dev/null
|
||||
return 0
|
||||
}
|
||||
|
@ -806,7 +806,7 @@ gen_dns(){
|
||||
rm -f $O
|
||||
[ $(find $DNS_DIR -name \* -exec cat {} \; 2>/dev/null | wc -l) = 0 ] && rm -rf $DNS_DIR || echo conf-dir=$DNS_DIR >>$DNS_FILE
|
||||
[ $run_mode = router ] && chinadns_flag=1
|
||||
killall -3 -q -3 smartdns
|
||||
killall -q -3 smartdns
|
||||
start_dns
|
||||
/etc/init.d/dnsmasq restart >/dev/null 2>&1
|
||||
preload
|
||||
@ -1001,7 +1001,7 @@ stop(){
|
||||
kill -9 $(ps -w | grep by-monitor | grep -v grep | awk '{print$1}') 2>/dev/null
|
||||
kill -9 $(ps -w | grep by-preload | grep -v grep | awk '{print$1}') 2>/dev/null
|
||||
kill -9 $(ps -w | grep $VAR | grep -v grep | awk '{print$1}') 2>/dev/null
|
||||
killall -3 -q -3 smartdns chinadns-ng kcptun-client microsocks
|
||||
killall -q -3 smartdns chinadns-ng kcptun-client microsocks
|
||||
rm -rf $DNS_DIR $VAR $DNS_FILE $CON_T /var/lock/bypass-update.lock
|
||||
[ -z "$GLOBAL_SERVER" ] && grep -q bypass $CRON_FILE && sed -i '/bypass/d' $CRON_FILE && /etc/init.d/cron restart
|
||||
if [ $STATUS = Y -o -z "$GLOBAL_SERVER" ];then
|
||||
|
@ -12,5 +12,5 @@ start() {
|
||||
}
|
||||
|
||||
stop() {
|
||||
killall -3 -3 cpulimit
|
||||
killall -3 cpulimit
|
||||
}
|
||||
|
@ -95,7 +95,7 @@ start_et() {
|
||||
[ ! -z "$ver" ] && echo "$(date '+%Y-%m-%d %H:%M:%S') easytier : ${easytierbin}当前版本号-${ver} " >>/tmp/easytier.log
|
||||
killall -3 easytier_check >/dev/null 2>&1
|
||||
killall -3 easytier-core >/dev/null 2>&1
|
||||
killall -3 -3 easytier-core >/dev/null 2>&1
|
||||
killall -3 easytier-core >/dev/null 2>&1
|
||||
local network_name network_secret mode ipaddr peeradd external_node rpc_portal listenermode
|
||||
local listeners desvice_name instance_name vpn_portal mtu default_protocol disable_encryption
|
||||
local multi_thread disable_ipv6 latency_first exit_node exit_nodes log check checkip proxy_network
|
||||
@ -277,7 +277,7 @@ start_service() {
|
||||
stop_service() {
|
||||
killall -3 easytier_check >/dev/null 2>&1
|
||||
killall -3 easytier-core >/dev/null 2>&1
|
||||
killall -3 -3 easytier-core >/dev/null 2>&1
|
||||
killall -3 easytier-core >/dev/null 2>&1
|
||||
uci -q delete network.EasyTier >/dev/null 2>&1
|
||||
uci -q delete firewall.easytierzone >/dev/null 2>&1
|
||||
uci -q delete firewall.easytierfwlan >/dev/null 2>&1
|
||||
|
@ -2,7 +2,7 @@ include $(TOPDIR)/rules.mk
|
||||
|
||||
PKG_NAME:=luci-app-homebridge
|
||||
PKG_VERSION:=0.1.0
|
||||
PKG_RELEASE:=16
|
||||
PKG_RELEASE:=17
|
||||
PKG_DATE:=20200311
|
||||
|
||||
PKG_LICENSE:=GPLv3
|
||||
|
@ -175,7 +175,7 @@ start_sub_service() {
|
||||
|
||||
stop() {
|
||||
echo "stop function" >> $LOG_FILE
|
||||
killall -3 -3 homebridge >> $LOG_FILE 2>&1
|
||||
killall -3 homebridge >> $LOG_FILE 2>&1
|
||||
# config_load homebridge
|
||||
# stop_main_service
|
||||
# config_foreach stop_sub_service platform
|
||||
|
@ -25,5 +25,5 @@ start() {
|
||||
}
|
||||
|
||||
stop() {
|
||||
killall -3 -3 pppoe-relay
|
||||
killall -3 pppoe-relay
|
||||
}
|
||||
|
@ -97,5 +97,5 @@ stop() {
|
||||
done
|
||||
fi
|
||||
ps | grep "pppd plugin rp-pppoe.so" | grep -v "grep" | awk '{print $1}' | xargs kill -9 >/dev/null 2>&1 &
|
||||
killall -3 -q -3 pppoe-server
|
||||
killall -q -3 pppoe-server
|
||||
}
|
||||
|
@ -66,5 +66,5 @@ start() {
|
||||
}
|
||||
|
||||
stop() {
|
||||
killall -3 -q pppoe-user
|
||||
killall -q pppoe-user
|
||||
}
|
||||
|
@ -1107,7 +1107,7 @@ stop() {
|
||||
if [ -z "$switch_server" ]; then
|
||||
$PS -w | grep -v "grep" | grep ssr-switch | awk '{print $1}' | xargs kill -9 >/dev/null 2>&1 &
|
||||
rm -f /var/lock/ssr-switch.lock
|
||||
killall -3 -q -3 kcptun-client
|
||||
killall -q -3 kcptun-client
|
||||
fi
|
||||
$PS -w | grep -v "grep" | grep ssr-monitor | awk '{print $1}' | xargs kill -9 >/dev/null 2>&1 &
|
||||
$PS -w | grep -v "grep" | grep "sleep 0000" | awk '{print $1}' | xargs kill -9 >/dev/null 2>&1 &
|
||||
@ -1118,7 +1118,7 @@ stop() {
|
||||
# Force kill hanged programs
|
||||
$PS -w | grep -v "grep" | grep "$TMP_PATH" | awk '{print $1}' | xargs kill -9 >/dev/null 2>&1 ; \
|
||||
)
|
||||
killall -3 -q -3 v2ray-plugin obfs-local xray-plugin
|
||||
killall -q -3 v2ray-plugin obfs-local xray-plugin
|
||||
rm -f /var/lock/ssr-monitor.lock
|
||||
if [ "$(uci -q get "dhcp.@dnsmasq[0]._unused_ssrp_changed")" = "1" ]; then
|
||||
uci -q del "dhcp.@dnsmasq[0].noresolv"
|
||||
|
@ -199,7 +199,7 @@ start_dnsproxy() {
|
||||
}
|
||||
|
||||
stop_dnscache() {
|
||||
killall -3 -3 "dnscache"
|
||||
killall -3 "dnscache"
|
||||
kill -9 $(ps -w | grep dnscache-while.sh | grep -v "grep" | awk '{print $1}')
|
||||
rm -rf "/var/dnscache" "/var/run/dnscache"
|
||||
echo "Stop DNS Caching"
|
||||
|
@ -50,6 +50,6 @@ start() {
|
||||
}
|
||||
|
||||
stop() {
|
||||
killall -3 -q -3 vlmcsd
|
||||
killall -q -3 vlmcsd
|
||||
echo "KMS Server has stopped."
|
||||
}
|
||||
|
@ -2,7 +2,7 @@ include $(TOPDIR)/rules.mk
|
||||
|
||||
PKG_NAME:=luci-app-xclient
|
||||
PKG_VERSION:=v2.1
|
||||
PKG_RELEASE:=4
|
||||
PKG_RELEASE:=5
|
||||
PKG_MAINTAINER:=xcode75
|
||||
|
||||
include $(INCLUDE_DIR)/package.mk
|
||||
|
@ -453,7 +453,7 @@ stop() {
|
||||
/usr/share/xclient/iptables.sh -f
|
||||
$PS -w | grep -v "grep" | grep monitor | awk '{print $1}' | xargs kill -9 >/dev/null 2>&1 &
|
||||
$PS -w | grep -v "grep" | grep "$TMP_PATH" | awk '{print $1}' | xargs kill -9 >/dev/null 2>&1 &
|
||||
killall -3 -q -3 xray-plugin
|
||||
killall -q -3 xray-plugin
|
||||
rm -f /var/lock/monitor.lock
|
||||
if [ -f "/tmp/dnsmasq.d/dnsmasq-xclient.conf" ]; then
|
||||
rm -rf /tmp/dnsmasq.d/dnsmasq-xclient.conf $TMP_DNSMASQ_PATH $TMP_PATH/*-xclient-*.json
|
||||
|
@ -3,7 +3,7 @@ include $(TOPDIR)/rules.mk
|
||||
|
||||
PKG_NAME:=appfilter
|
||||
PKG_VERSION:=5.0.2
|
||||
PKG_RELEASE:=42
|
||||
PKG_RELEASE:=43
|
||||
|
||||
PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)
|
||||
include $(INCLUDE_DIR)/package.mk
|
||||
|
@ -13,7 +13,7 @@ service_triggers()
|
||||
}
|
||||
|
||||
stop_service(){
|
||||
killall -3 -3 oafd
|
||||
killall -3 oafd
|
||||
rmmod oaf
|
||||
}
|
||||
|
||||
|
@ -7,7 +7,7 @@
|
||||
include $(TOPDIR)/rules.mk
|
||||
|
||||
PKG_NAME:=oscam
|
||||
PKG_RELEASE:=21
|
||||
PKG_RELEASE:=22
|
||||
|
||||
PKG_SOURCE_PROTO:=git
|
||||
PKG_SOURCE_URL:=https://github.com/nx111/oscam.git
|
||||
|
@ -16,7 +16,7 @@ start() {
|
||||
/etc/init.d/pcscd enable
|
||||
/etc/init.d/pcscd start
|
||||
if pidof oscam >/dev/null; then
|
||||
kill $(pidof oscam) >/dev/null 2>&1 || killall -3 -3 oscam >/dev/null 2>&1
|
||||
kill $(pidof oscam) >/dev/null 2>&1 || killall -3 oscam >/dev/null 2>&1
|
||||
sleep 1
|
||||
fi
|
||||
echo "enable"
|
||||
@ -31,7 +31,7 @@ stop() {
|
||||
if [ $enable -ne 1 ]; then
|
||||
echo "stop!"
|
||||
kill -9 $(ps | grep oscam-watchdog.sh | grep -v "grep" | awk '{print $1}') >/dev/null 2>&1
|
||||
kill $(pidof oscam) >/dev/null 2>&1 || killall -3 -3 oscam >/dev/null 2>&1
|
||||
kill $(pidof oscam) >/dev/null 2>&1 || killall -3 oscam >/dev/null 2>&1
|
||||
/etc/init.d/pcscd stop
|
||||
/etc/init.d/pcscd disable
|
||||
fi
|
||||
|
@ -6,7 +6,7 @@
|
||||
include $(TOPDIR)/rules.mk
|
||||
|
||||
PKG_NAME:=pcat-manager
|
||||
PKG_RELEASE:=10
|
||||
PKG_RELEASE:=11
|
||||
|
||||
PKG_SOURCE_PROTO:=git
|
||||
PKG_SOURCE_DATE:=2023-03-17
|
||||
|
@ -12,7 +12,7 @@ stop() {
|
||||
}
|
||||
|
||||
restart() {
|
||||
killall -3 -USR1 pcat-manager
|
||||
killall -USR1 pcat-manager
|
||||
stop
|
||||
start
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user