TrueNAS CORETrueNAS CORE Version Documentation
This content follows the TrueNAS CORE 13.0 releases. Use the Product and Version selectors above to view content specific to different TrueNAS software or major version.

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.

Related Content