Differences
This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision | |||
| docs:guide-developer:uci-defaults [2023/10/03 19:56] – [Integrating custom settings] uci-defaults include built-in commit: https://github.com/openwrt/openwrt/blob/main/package/base-files/files/etc/init.d/boot#L17 vgaetera | docs:guide-developer:uci-defaults [2023/10/14 09:08] (current) – [UCI defaults] vgaetera | ||
|---|---|---|---|
| Line 7: | Line 7: | ||
| To set some system defaults the first time the device boots, create a script in the directory ''/ | To set some system defaults the first time the device boots, create a script in the directory ''/ | ||
| - | All scripts in that directory are automatically executed by '' | + | All scripts in that directory are automatically executed by the '' |
| * If they exit with code 0 they are deleted afterwards. | * If they exit with code 0 they are deleted afterwards. | ||
| * Scripts that exit with non-zero exit code are not deleted and will be re-executed at the next boot until they also successfully exit. | * Scripts that exit with non-zero exit code are not deleted and will be re-executed at the next boot until they also successfully exit. | ||