Skip to content
Contents
GuidesOpenWrt

Why 99-asu-defaults disappears after an ASU upgrade that keeps settings

After the first boot script runs, it may be removed. If the file is not visible after an upgrade, check the expected destination settings rather than assuming the script failed simply because the file is missing.

Applies to · OpenWrt 25.12.4 / 25.12.6 · ASU · 99-asu-defaults

What to check

Distinguish between the first-boot script injected during build, files retained in the backup, and scripts executed after first startup and then removed.

Connect over Ethernet and run the following commands in an SSH session on the router.

uci -q get attendedsysupgrade.owut.init_script
sysupgrade -l

How to interpret the result

Compare the init_script from the build request, the upgrade backup list, and the target UCI values after boot. If the target value is specified, first verify the actual functionality. If the target value is not specified, then determine whether the script is included in the image, whether it is executed, and whether it is overridden by the old configuration.

Verify and recover

After normal startup, inspect the setting the script was meant to create and test that function. Preserve the build request and the original backup before changing first-boot defaults.

Related guide · What to back up separately from OpenWrt UCI configuration

Explore hardware

Comments