mirror of
https://github.com/Ysurac/openmptcprouter-feeds.git
synced 2025-02-14 11:31:51 +00:00
No init if no host
This commit is contained in:
parent
0d643b0a79
commit
a27050b643
1 changed files with 1 additions and 0 deletions
|
@ -48,6 +48,7 @@ start_instance() {
|
|||
[ "${key}" != "secretkey" ] || return 1
|
||||
[ -n "${port}" ] || return 1
|
||||
[ -n "${dev}" ] || return 1
|
||||
[ -n "${host}" ] || return 1
|
||||
|
||||
echo "${key}" > /tmp/${PROG_NAME}-${1}.key
|
||||
[ -f "/tmp/${PROG_NAME}-${1}.key" ] || {
|
||||
|
|
Loading…
Reference in a new issue