fffonion / fffonion/Xunlei-Fastdick

建议彻底脱离python 纯使用shell、C语言实现

Open
#85 2 comments 0 reactions 0 assignees View on GitHub
help wanted
Dominant language
Python
Stars
815
Forks
169
PR merge metrics
No merged PRs in 30d

Description

python对于路由器来说还是太不方便了 体积是硬伤
而目前这种通过python脚本获取uid、pass等所需参数,再生成shell文件和ipk的作法也非常的别扭,这样无法分发通用的ipk包。
建议使用c/shell语言实现python里面的这一部分功能,整合进软件包,使用uci的配置文件配置用户名密码
另外,建议增加一个hotplug脚本,掉线停,上线运行,比如:

```
#!/bin/sh
case "$ACTION" in
ifup)
/etc/init.d/swjsq start
;;
ifdown)
/etc/init.d/swjsq stop
;;
esac
```

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.