mirror of
https://gitee.com/xiaohuolufeihua/bizhang_-obav.git
synced 2026-05-21 01:12:11 +00:00
nsh scripting:source (.) cmd supported
This commit is contained in:
committed by
Daniel Agar
parent
df30f29a55
commit
185ffe9e13
@@ -74,7 +74,7 @@ class RCOutput():
|
||||
result += "\n"
|
||||
result += "if [ ${AIRFRAME} != none ]\n"
|
||||
result += "then\n"
|
||||
result += "\tsh /etc/init.d/airframes/${AIRFRAME}\n"
|
||||
result += "\t. /etc/init.d/airframes/${AIRFRAME}\n"
|
||||
if not post_start:
|
||||
result += "else\n"
|
||||
result += "\techo \"ERROR [init] No file matches SYS_AUTOSTART value found in : /etc/init.d/airframes\"\n"
|
||||
|
||||
Reference in New Issue
Block a user