lee1080 / CloudflareSpeedTestDDNS

使用CloudflareSpeedTest工具优选IP后自动DDNS到Cloudflare
499 stars 175 forks source link

不兼容sh #5

Closed xvim closed 1 year ago

xvim commented 1 year ago

openwrt很多没有bash,有兼容性问题无法运行。

lee1080 commented 1 year ago

确实对sh解析器不兼容,目前解决方案是在openwrt中安装bash,一般openwrt软件源中都有bash,可能在编译系统的时候就被精简了。 只需要执行opkg update然后opkg install bash就可以安装bash了。 或者进行手动安装:下载符合系统架构的bash文件,然后手动安装。