- 0
OPKG и автозапуск скрипта после перезагрузки Роутера
-
Recently Browsing 0 members
- No registered users viewing this page.
This site uses cookies. By clicking "I accept" or continuing to browse the site, you authorize their use in accordance with the Privacy Policy.
Question
srs
Всем доброго дня.
Имеется роутер Keenetic Giga III EAEU с версией ПО 5.2 Alpha 7
Установлен OPKG во внутреннюю память.
Настроен proxy.
После перезагрузки, сам скрипт не стартует, приходиться подключаться по SSH
Далее exec sh и запуск моего скрипта startproxy (линк)
Скрипт с именем: S100startproxy расположен в директории: /opt/etc/init.d
Содержимое:
#!/bin/sh
exec sh -c "/opt/bin/startproxy"
В самом startproxy
#!/bin/sh
/opt/bin/python3 /opt/mtprotoproxy/mtprotoproxy.py > /dev/null 2>&1 &
В логах после перезагрузки:
Edited by srsДобавление лога
4 answers to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.