on-boot: inform about the .sh requirement in the readme (#306)

This commit is contained in:
Michael Muré 2022-01-16 13:21:37 +01:00 committed by GitHub
parent c1b8b5ec71
commit df249b4cd8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -56,7 +56,7 @@ This will also install CNI Plugins & CNI Bridge scripts. If you are using UDMSE/
exit
```
3. Copy any shell scripts you want to run to /mnt/data/on_boot.d on your UDM (not the unifi-os shell) and make sure they are executable and have the correct shebang (#!/bin/sh)
3. Copy any shell scripts you want to run to /mnt/data/on_boot.d on your UDM (not the unifi-os shell) and make sure they are executable and have the correct shebang (#!/bin/sh). Additionally, scripts need to have a `.sh` extention in their filename.
Examples:
* Start a DNS Container [10-dns.sh](../dns-common/on_boot.d/10-dns.sh)