Persistent On Boot Script¶
When a UDM or UDM Pro reboots or receives a firmware update, custom system changes can be lost. This script reapplies those changes after each reboot or firmware update.
GitHub repository: unifi-utilities/unifi-common
Allows you to run shell scripts at S95 anytime your UniFi device starts up.
Useful for starting scripts, applying custom config, or any other boot-time work.
[!IMPORTANT] Targets UniFi OS 4.x and above (systemd runs natively on the host).
Install¶
curl -fsL "https://raw.githubusercontent.com/unifi-utilities/unifi-common/HEAD/remote_install.sh" | /bin/bash
Offline Install¶
- Copy
udm-boot.serviceto/etc/systemd/system/udm-boot.serviceon the device. - Run
manual-install/install.shon the device
Done?¶
Head over to the addons repository to find some scripts to run at boot:
https://github.com/unifi-utilities/unifi-common-addons
Missing something?¶
[!TIP] We have moved the old addons to a new repository to make it easier to maintain and add new addons. If you have an addon that you would like to see added, please open an issue or submit a pull request.
https://github.com/unifi-utilities/unifios-utilities-archived