swmodd: fix DuStateChange event

This commit is contained in:
Suvendhu Hansa 2026-01-21 17:47:11 +05:30 committed by IOPSYS Dev
parent 31b1e8b7a6
commit 135590f80c
No known key found for this signature in database

View file

@ -264,9 +264,6 @@ start_service() {
config_load ocicontainer
config_foreach configure_crun_container du_eu_assoc "${bundle}" "${bridge}" "${boot}" "${timeout}"
uci_commit ocicontainer
# Add a timer for DuStateChange!
(sleep 5 && ubus -t 5 call swmodules reload) &
else
log "${bundle}/ocicontainer not present"
fi