diff --git a/configfiles/ubus-status.sh b/configfiles/ubus-status.sh index 3155037..2f19b90 100644 --- a/configfiles/ubus-status.sh +++ b/configfiles/ubus-status.sh @@ -42,12 +42,6 @@ check_ubus() { /sbin/rpcd -s /var/run/ubus/ubus.sock -t 30 & elif echo "$rpcd_status" | grep -q "running"; then echo "$datetime / Ubus服务正在运行,一切正常。" - else - echo "$datetime / Ubus服务异常,正在重启Ubus。" - killall ubusd 2>/dev/null - killall rpcd 2>/dev/null - sleep 1 - /sbin/rpcd -s /var/run/ubus/ubus.sock -t 30 & fi }