Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
elunez committed Jun 13, 2022
1 parent 8767e1a commit 4ac9b52
Show file tree
Hide file tree
Showing 2 changed files with 709 additions and 0 deletions.
13 changes: 13 additions & 0 deletions bt_7.7_happy/bt_happy.sh
Original file line number Diff line number Diff line change
Expand Up @@ -103,6 +103,19 @@ else
fi
echo -e "已去除首页升级红点."

if [ -f /www/server/panel/task.py ];then
chattr -i /www/server/panel/task.py
rm /www/server/panel/task.py
cd /www/server/panel
wget https://proxy.zyun.vip/https://raw.githubusercontent.com/elunez/other_script/master/bt_7.7_happy/task.py
chattr +i /www/server/panel/task.py
else
cd /www/server/panel
wget https://proxy.zyun.vip/https://raw.githubusercontent.com/elunez/other_script/master/bt_7.7_happy/task.py
chattr +i /www/server/panel/task.py

echo -e "修复0点CPU高占用BUG完成."

if [ -f /www/server/panel/data/repair.json ];then
chattr -i /www/server/panel/data/repair.json
rm /www/server/panel/data/repair.json
Expand Down
Loading

0 comments on commit 4ac9b52

Please sign in to comment.