TrueNAS CORETrueNAS CORE Nightly Development Documentation
This content follows experimental early release software. Use the Product and Version selectors above to view content specific to a stable software release.

Init/Shutdown Scripts

TasksInitShutdownScriptsAdd

Init/Shutdown Script

NameDescription
DescriptionComments about this script.
TypeSelect Command for an executable command or Script for an executable script.
CommandEnter the command with any options. When Script is selected, click the to define the path to the script file.
WhenPre Init is early in the boot process, after mounting filesystems and starting networking. Post Init is at the end of the boot process, before TrueNAS services start. Shutdown is during the system power off process.
EnabledEnable this task. Clear to disable the task without deleting it.
TimeoutAutomatically stop the script or command after the specified seconds.