doc: document run_boot_script

This commit is contained in:
Himadri Bhattacharjee
2023-08-12 09:23:27 +05:30
parent 4626de8d34
commit 30fc09bfca

View File

@@ -45,6 +45,10 @@ async def main():
async def run_boot_script():
"""
If a script with the name 'boot.dd' exists,
run it without user interaction on boot.
"""
boot_script = 'payloads/boot.dd'
if os.path.exists(boot_script):
run_script_file(boot_script)