diff --git a/src/code.py b/src/code.py index 660cddc..17f7b0c 100644 --- a/src/code.py +++ b/src/code.py @@ -45,6 +45,10 @@ def api(request: Request): 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)