运行bash命令提示./package not found,求助
https://github.com/chenmozhijin/turboacc情况:
第一步要求执行
curl -sSL https://raw.githubusercontent.com/chenmozhijin/turboacc/luci/add_turboacc.sh -o add_turboacc.sh && bash add_turboacc.sh
提示./package not found
有几个问题
①openwrt源代码所在目录是哪里?为什么百度不到,全是目录结构分析。
②./package not found是什么提示?没找到文件?百度没搜到。
Ⅰ putty单独执行curl -sSL https://raw.githubusercontent.com/chenmozhijin/turboacc/luci/add_turboacc.sh -o add_turboacc.sh 没反应,继续执行bash add_turboacc.sh提示./package not found
Ⅱ单独下载add_turboacc.sh,上传到tmp目录 执行cd /tmp bash add_turboacc.sh,仍然提示./package not found
③如果我想运行这个sh文件该怎么操作,它应该是一个安装自启动脚本的sh
感谢思考解答
我好像搞错了,这玩意需要编译的时候加进去 对不对。。。 openwrt 默认没有预装 curl 和 bash
通常默认的是 wget 和 ash
需要单独安装,或者编译时提前加入 X86不需要这个。。。
页:
[1]