User Tools

Site Tools


documentation:setup_and_user_guide:system_advanced_command_scripts

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
documentation:setup_and_user_guide:system_advanced_command_scripts [2017/01/20 05:51]
zoon01
documentation:setup_and_user_guide:system_advanced_command_scripts [2018/09/30 02:05] (current)
zoon01
Line 4: Line 4:
   * PreInit - After initilizing the kernel   * PreInit - After initilizing the kernel
   * PostInit - After starting all services   * PostInit - After starting all services
-  * Shutdown - Before shutting down NAS4Free+  * Shutdown - Before shutting down XigmaNAS
  
-This feature is for advanced user. It isnt needed for the daily work of your NAS4Free.+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-19012017+The example on the screenshots will copy all logfiles to /mnt/data/log-date
  
 {{:documentation:webgui_interface_and_setup:system_advanced_command_scripts.png?nolink|}} {{:documentation:webgui_interface_and_setup:system_advanced_command_scripts.png?nolink|}}
  
-Click on the {{:documentation:webgui_interface_and_setup:basic.add.gif|}} icon to create a new Command.+Click on the {{:documentation:webgui_interface_and_setup:basic.add.png|}} icon to create a new Command.
  
 Click on the {{:documentation:webgui_interface_and_setup:basic.edit.png|}} icon to manage an existing Command. Click on the {{:documentation:webgui_interface_and_setup:basic.edit.png|}} icon to manage an existing Command.
Line 21: Line 21:
  
 **Command:**\\ **Command:**\\
-fsck_ufs -y /dev/ada1\\+fsck_ufs -y /dev/da1\\
 **Type:**\\ **Type:**\\
 Shutdown Shutdown
  
 This will do a filesystem check to the given drive before the system shutdown. This will do a filesystem check to the given drive before the system shutdown.
documentation/setup_and_user_guide/system_advanced_command_scripts.1484887875.txt.gz ยท Last modified: 2018/07/08 17:50 (external edit)