Move the init script to '50-attendedsysupgrade', so it is run in the
middle of the init sequence, rather than after all the explicitly
ordered ones. This allows later scripts, specifically the 99-level
ones, to modify the contents of the attendedsysupgrade configuration.
Signed-off-by: Eric Fahlgren <ericfahlgren@gmail.com>
include $(TOPDIR)/rules.mk
PKG_NAME:=attendedsysupgrade-common
-PKG_VERSION:=8
+PKG_VERSION:=9
PKG_LICENSE:=GPL-2.0
include $(INCLUDE_DIR)/package.mk
define Package/attendedsysupgrade-common/install
$(INSTALL_DIR) $(1)/etc/uci-defaults/
- $(INSTALL_DATA) ./files/attendedsysupgrade.defaults $(1)/etc/uci-defaults/attendedsysupgrade
+ $(INSTALL_DATA) ./files/attendedsysupgrade.defaults $(1)/etc/uci-defaults/50-attendedsysupgrade
$(INSTALL_DIR) $(1)/etc/opkg/keys/
$(INSTALL_DATA) ./files/8a11255d14aef6c8 $(1)/etc/opkg/keys/8a11255d14aef6c8