mirror of
https://github.com/juewuy/ShellCrash.git
synced 2026-03-10 23:41:22 +00:00
~增加小米设备对autossh脚本的兼容
~增加小米设备/data/auto_start.sh文件,用于自定义开机启动项 ~增加Mihomo内核默认启用统一延迟功能 ~优化默认DNS,现在会默认使用localhost(如果可用)而不是阿里dns ~优化子菜单加载效率 ~优化部分设备的tun加载流程,修复因为未加载tun模块而导致的启动报错 ~优化dns界面显示 ~修复因为文件拆分路径改变导致的加载失败的一系列bug ~修复局域网过滤白名单失效的bug(需要重新启用) ~修复自定义入站启用失败的bug ~修复前台测试内核运行命令报错的bug ~修复卸载时的意外报错
This commit is contained in:
@@ -1,5 +1,9 @@
|
||||
#!/bin/sh
|
||||
# Copyright (C) Juewuy
|
||||
|
||||
[ -n "$__IS_MODULE_4_SETBOOT_LOADED" ] && return
|
||||
__IS_MODULE_4_SETBOOT_LOADED=1
|
||||
|
||||
allow_autostart(){
|
||||
[ -f /etc/rc.common -a "$(cat /proc/1/comm)" = "procd" ] && /etc/init.d/shellcrash enable
|
||||
ckcmd systemctl && systemctl enable shellcrash.service >/dev/null 2>&1
|
||||
|
||||
Reference in New Issue
Block a user