FAQ - Frequently Asked Questions - Knowledge Base

How do I run my own script at startup?

In order to automatically run your own program after starting up the NAS, create a shell script (*.sh) and store it in following directory "/system/local/etc/rc.d". You may have to create this directory yourself, if it does not already exist.

  1. Create the directory mkdir -p /system/local/etc/rc.d
  2. Create your shell script and change the access rights for the file chmod 755 *.sh

Disclaimer
All modifications via SSH have to be done at your own risk and we do not offer any further support, except for our standard firmware.