nsh scripting:source (.) cmd supported

This commit is contained in:
David Sidrane
2020-06-22 13:53:01 -07:00
committed by Daniel Agar
parent df30f29a55
commit 185ffe9e13
93 changed files with 121 additions and 121 deletions

View File

@@ -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"