mirror of
https://github.com/openwrt/packages.git
synced 2025-12-10 12:41:22 +00:00
attendedsysupgrade-common: give the uci-defaults script a run level
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>
This commit is contained in:
committed by
Paul Spooren
parent
22ad5d889c
commit
2255c9b9a1
@@ -3,7 +3,7 @@
|
||||
include $(TOPDIR)/rules.mk
|
||||
|
||||
PKG_NAME:=attendedsysupgrade-common
|
||||
PKG_VERSION:=8
|
||||
PKG_VERSION:=9
|
||||
PKG_LICENSE:=GPL-2.0
|
||||
|
||||
include $(INCLUDE_DIR)/package.mk
|
||||
@@ -49,7 +49,7 @@ endef
|
||||
|
||||
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
|
||||
|
||||
Reference in New Issue
Block a user