-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #61 from NightRainMilkyWay/main
更新版本至 V5.0.0 Beta 4,新增运行状态显示,优化安装脚本,添加 examine.sh 脚本以监控服务状态
- Loading branch information
Showing
7 changed files
with
50 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
#!/sbin/sh | ||
|
||
|
||
LOG_FILE=/storage/emulated/0/Android/ct/scheduler.log | ||
BASE_DIR=/data/adb/modules/ct_module/module.prop | ||
|
||
|
||
if [ -f $LOG_FILE ]; then | ||
if grep -q "Daemon Running" $LOG_FILE; then | ||
sed -i 's/description=.*/description=[😊运行中]Optimize performance ing…/' $BASE_DIR | ||
else | ||
sed -i 's/description=.*/description=[😵启动失败]Optimize performance ing…/' $BASE_DIR | ||
fi | ||
fi |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
#!/sbin/sh | ||
|
||
|
||
LOG_FILE=/storage/emulated/0/Android/ct/scheduler.log | ||
BASE_DIR=/data/adb/modules/ct_module/module.prop | ||
|
||
|
||
if [ -f $LOG_FILE ]; then | ||
if grep -q "Daemon Running" $LOG_FILE; then | ||
sed -i 's/description=.*/description=[😊运行中]Optimize performance ing…/' $BASE_DIR | ||
else | ||
sed -i 's/description=.*/description=[😵启动失败]Optimize performance ing…/' $BASE_DIR | ||
fi | ||
fi |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters