User Tools

Site Tools


documentation:setup_and_user_guide:system_advanced_command_scripts

System Advanced Command Scripts

Command scripts are used to execute a command

  • PreInit - After initilizing the kernel
  • PostInit - After starting all services
  • Shutdown - Before shutting down XigmaNAS

This feature is for advanced user. It isnt needed for the daily work of your XigmaNAS server.

The example on the screenshots will copy all logfiles to /mnt/data/log-date

Click on the icon to create a new Command.

Click on the icon to manage an existing Command.

Other examples:

Command:
fsck_ufs -y /dev/da1
Type:
Shutdown

This will do a filesystem check to the given drive before the system shutdown.

documentation/setup_and_user_guide/system_advanced_command_scripts.txt · Last modified: 2018/09/30 01:05 by zoon01