优化代码

This commit is contained in:
bin456789
2024-03-31 00:47:13 +08:00
parent f2e1cb8b89
commit ffa7b63d93
7 changed files with 42 additions and 35 deletions

View File

@ -708,7 +708,6 @@ EOF
install_alpine() {
hack_lowram_modloop=true
hack_lowram_swap=true
mount / -o remount,size=100%
if $hack_lowram_modloop; then
# 预先加载需要的模块
@ -2871,6 +2870,9 @@ EOF
# 并调用本文件的 create_ifupdown_config 方法
: main
# 允许 ramdisk 使用所有内存,默认是 50%
mount / -o remount,size=100%
# arm要手动从硬件同步时间避免访问https出错
# do 机器第二次运行会报错
hwclock -s || true