{"repo":"OneCDOnly/create-autorun","free":true,"listed":false,"github":"https://github.com/OneCDOnly/create-autorun","clone":"git clone https://github.com/OneCDOnly/create-autorun.git","description":"Create an autorun environment on your QNAP NAS","language":"Shell","stars":186,"topics":["autorun","qnap-nas","startup","nas-startup","bash-script","qnap","linux","shell-script","bash","nas"],"license":"GPL-3.0","category":"cli-tools","readme_excerpt":"Description This is a run-once BASH script to create an autorun environment on your QNAP NAS. This can be used to automatically execute your own scripts when the NAS boots-up. The aim of this project is to support all QNAP NAS models and all QTS & QuTS hero versions. Please advise if you encounter any errors when running it on your NAS. What it does This installer script writes an autorun.sh processor into your default volume, below the .system directory. It then symlinks this from the DOM back to your default data volume so that it is run on NAS startup. This means you don't need to load the DOM partition every time you want to change the contents of autorun.sh The autorun device and partition are automatically determined by this script. How to create your autorun.sh curl -skL https://git.io/create-autorun sudo bash Notes - If you didn't have an autorun.sh file before, then the autorun.sh file created by this utility will contain a script directory processor, and will make a scripts directory available for your own shell-scripts. Everything in this scripts directory is run (in-order) during NAS startup by the default autorun.sh file created only. The notes below are only applicable to the autorun.sh written by this utility. If you already had another autorun.sh file, then it will remain and be used instead, and the following notes won't apply. - The location of the autorun system will depend on your default volume name. For example: if your default volume is CACHEDEV1 DATA ,","default_branch":null,"files":null,"tree":[],"storefront":"/r/OneCDOnly","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/OneCDOnly/create-autorun/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}