feat(bash): 移除系统清理脚本并更新 README

- 删除了 bash 目录下的 clean.sh 文件
- 更新了 README.md,移除了与系统清理脚本相关的部分
This commit is contained in:
2025-07-27 21:23:20 +08:00
parent bcc8bec4cb
commit 6216ce7485
2 changed files with 1 additions and 210 deletions

View File

@@ -22,25 +22,4 @@ curl -LsSf https://i.sugarscat.cn/i/script/raw/main/bash/init-ali.sh | bash
1. 更换软件源为 `阿里云源`
2. 更换DNS为 `114.114.114.114``223.5.5.5`
3. 设置时区 `Asia/Shanghai` 和时间同步
### 系统清理脚本
> [!CAUTION]
>
> **删库警告**
>
> 该脚本不适合 NAS 系统使用,部分 NAS 的磁盘挂载点在 `/tmp` 目录下,该脚本会清理掉 NAS 的数据。
```bash
curl -LsSf https://i.sugarscat.cn/i/script/raw/main/bash/clean.sh | bash
```
进行的操作有:
1. 显示系统信息
2. 清理旧的内核包和残留的配置文件
3. 清理 /tmp 目录下的临时文件
4. 清理 APT 缓存目录 /var/cache/apt/archives
5. 清理用户缓存目录 ~/.cache
6. 清理 systemd 日志 /var/log/journal
3. 设置时区 `Asia/Shanghai` 和时间同步