owut: fix order of uci-defaults
authorEric Fahlgren <ericfahlgren@gmail.com>
Thu, 31 Oct 2024 01:55:33 +0000 (18:55 -0700)
committerTianling Shen <cnsztl@gmail.com>
Mon, 4 Nov 2024 03:12:26 +0000 (11:12 +0800)
Move uci-defaults file to run level 51, so it is executed immediately
after the attendedsysupgrade-common package's uci-defaults script.

Signed-off-by: Eric Fahlgren <ericfahlgren@gmail.com>
utils/owut/Makefile

index 8f15c009a90914144096b6e3d93917724334ba37..e6b5f921f19ab9f3573304fcef601d12dd0100f3 100644 (file)
@@ -7,7 +7,7 @@ include $(TOPDIR)/rules.mk
 
 PKG_NAME:=owut
 PKG_SOURCE_DATE:=2024-10-25
-PKG_RELEASE:=1
+PKG_RELEASE:=2
 
 PKG_SOURCE_PROTO:=git
 PKG_SOURCE_VERSION:=8c8907c6360ae5248b898e1f8ad87ed797e733e6
@@ -53,7 +53,7 @@ endef
 
 define Package/owut/install
        $(INSTALL_DIR) $(1)/etc/uci-defaults
-       $(INSTALL_CONF) $(PKG_BUILD_DIR)/files/owut.defaults $(1)/etc/uci-defaults/attendedsysupgrade-owut
+       $(INSTALL_CONF) $(PKG_BUILD_DIR)/files/owut.defaults $(1)/etc/uci-defaults/51-attendedsysupgrade-owut
 
        $(INSTALL_DIR) $(1)/etc/owut.d
        $(INSTALL_BIN) $(PKG_BUILD_DIR)/files/pre-install.sh $(1)/etc/owut.d/pre-install.sh