n2n: fix setup route (#9703)

Co-authored-by: Tianling Shen <cnsztl@immortalwrt.org>
This commit is contained in:
Beginner 2022-07-06 20:59:44 +08:00 committed by GitHub
parent 0ddd0df10f
commit d366b58c3f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -123,8 +123,7 @@ start_service() {
config_load 'n2n'
config_foreach start_instance 'edge'
config_foreach start_instance 'supernode'
sleep 2
config_foreach start_instance 'route'
( sleep 2; config_foreach start_instance 'route'; ) &
}
stop_service() {