diff options
| author | Alexander Couzens <lynxis@fe80.eu> | 2014-12-09 11:10:51 +0100 |
|---|---|---|
| committer | Alexander Couzens <lynxis@fe80.eu> | 2015-01-07 10:42:30 +0100 |
| commit | 98699f47d7cff6abe9d00aa7cb31af5d825fd1e4 (patch) | |
| tree | af22147651748a4381e227e4ee75c17c19042df1 /nodogsplash/Makefile | |
| parent | 53a4f6b93baa33ee7f2eb4f41e0a3792f22a450b (diff) | |
nodogsplash: migrate to uci based configuration
Use /etc/config/nodogsplash for configuration.
Old setups will migrate using config option to use old
file base configuration.
Diffstat (limited to 'nodogsplash/Makefile')
| -rw-r--r-- | nodogsplash/Makefile | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/nodogsplash/Makefile b/nodogsplash/Makefile index d7ff5e6..d630dba 100644 --- a/nodogsplash/Makefile +++ b/nodogsplash/Makefile @@ -10,7 +10,7 @@ include $(TOPDIR)/rules.mk PKG_NAME:=nodogsplash PKG_FIXUP:=autoreconf PKG_VERSION:=0.9_beta9.9.9 -PKG_RELEASE:=2 +PKG_RELEASE:=3 PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)/ PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz @@ -45,8 +45,10 @@ define Package/nodogsplash/install $(INSTALL_DIR) $(1)/etc/init.d $(INSTALL_BIN) files/nodogsplash.init $(1)/etc/init.d/$(PKG_NAME) + $(INSTALL_DIR) $(1)/etc/uci-defaults + $(INSTALL_CONF) ./files/nodogsplash.migrate $(1)/etc/uci-defaults/30_nodogsplash + $(INSTALL_DIR) $(1)/etc/$(PKG_NAME)/htdocs/images - $(CP) $(PKG_BUILD_DIR)/resources/nodogsplash.conf $(1)/etc/$(PKG_NAME)/ $(CP) $(PKG_BUILD_DIR)/resources/splash.html $(1)/etc/$(PKG_NAME)/htdocs/ $(CP) $(PKG_BUILD_DIR)/resources/infoskel.html $(1)/etc/$(PKG_NAME)/htdocs/ $(CP) $(PKG_BUILD_DIR)/resources/splash.jpg $(1)/etc/$(PKG_NAME)/htdocs/images/ |
