Author: nico Date: 2015-04-02 16:53:00 +0200 (Thu, 02 Apr 2015) New Revision: 45240
Modified: trunk/package/utils/ugps/Makefile Log: ugps: add conffiles section, fix config file perms Signed-off-by: Nicolas Thill <[email protected]> Modified: trunk/package/utils/ugps/Makefile =================================================================== --- trunk/package/utils/ugps/Makefile 2015-04-02 14:32:07 UTC (rev 45239) +++ trunk/package/utils/ugps/Makefile 2015-04-02 14:53:00 UTC (rev 45240) @@ -36,11 +36,15 @@ TARGET_CFLAGS += -D_DEFAULT_SOURCE endif +define Package/ugps/conffiles +/etc/config/gps +endef + define Package/ugps/install $(INSTALL_DIR) $(1)/usr/sbin $(1)/etc/init.d $(1)/etc/config $(INSTALL_BIN) $(PKG_BUILD_DIR)/ugps $(1)/usr/sbin/ $(INSTALL_BIN) ./files/ugps.init $(1)/etc/init.d/ugps - $(INSTALL_BIN) ./files/gps.config $(1)/etc/config/gps + $(INSTALL_CONF) ./files/gps.config $(1)/etc/config/gps endef $(eval $(call BuildPackage,ugps)) _______________________________________________ openwrt-commits mailing list [email protected] https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-commits
