Comments (3)
这里只是强制用bash执行脚本,不会更改系统默认的sh设置
from shellcrash.
这一行是不是检测系统可用的shell入口?默认用sh,如果在/bin/sh里面有检测到dash(bash?)就把clash的alias入口改成bash?
在vyos中,sh被强制转换成show,而不是bash,因此会导致执行完此脚本后,clash的alias是"sh /xxx/clash.sh",在vyos中无法执行,如果把这一行的dash改成bash,clash的alias就成了bash /xxx/clash.sh,执行起来没问题
from shellcrash.
回头我加上show的判断就好了
from shellcrash.
Related Issues (20)
- [Bug] 更新配置时出错 HOT 4
- [Feature] 锐捷天蝎适配 HOT 3
- [Bug] `getdate.sh: line 1729: /etc/init.d/CrashCore: No such file or directory` HOT 4
- [Bug] 关于singbox的sniff HOT 5
- [Feature] 为什么订阅转换规则不支持vless了? HOT 3
- [Bug] Hard coded misnap_init.sh
- [Feature] singbox内核 DNS mix模式下绕过CN ip
- [Bug] 小米R2D ShellClash 1.8.0 meta内核下节点fallback不能自动切换 HOT 2
- [Feature] 希望能提供自定义下载缓存位置 HOT 5
- [Bug] invalid go version while compiling from action HOT 2
- [Bug] 热更新订阅又有问题了 `start.sh: line 523: /tmp/ShellCrash/CrashCore: No such file or directory`
- 可以告知7个数据库来源是什么吗? HOT 2
- [Bug] 最新公测/稳定版在小米AX3000(RA80)上会导致死机 HOT 4
- [Feature] 能否支持yaml 文档 中的 锚点 & * << 语法? HOT 4
- [Bug] 如果节点在局域网内会无法代理 HOT 4
- [Bug] proxy 0: create WireGuard device: gVisor is not included in this build, rebuild with -tags with_gvisor HOT 2
- [Bug] 最新公测版无法使用wrap节点,想回退到1.8.7,但是没有这个版本了 HOT 2
- 华硕 RT-AC68U 重启以后无法启动crash HOT 17
- [Bug] 路由器重启,clash命令就失效了,无法呼出控制台,但是clash是正常运行状态 HOT 9
- 如何开始全局模式? HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from shellcrash.