[packages_10.03.2] ap51-flash: merge r29199, r29230
authorJo-Philipp Wich <jow@openwrt.org>
Sat, 4 Feb 2012 20:48:02 +0000 (20:48 +0000)
committerJo-Philipp Wich <jow@openwrt.org>
Sat, 4 Feb 2012 20:48:02 +0000 (20:48 +0000)
SVN-Revision: 30135

utils/ap51-flash/Makefile
utils/ap51-flash/files/ap51-flash.conf [deleted file]
utils/ap51-flash/files/ap51-flash.config [new file with mode: 0644]

index 60ac9ab04919806605a6adcdcdda31908d55f2ef..ad8f129f9ac555c5ce6c981aa94d409d1ff4144b 100644 (file)
@@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk
 PKG_NAME:=ap51-flash
 PKG_REV:=232
 PKG_VERSION:=r$(PKG_REV)
-PKG_RELEASE:=1
+PKG_RELEASE:=3
 
 PKG_SOURCE_PROTO:=svn
 PKG_SOURCE_VERSION:=$(PKG_REV)
@@ -47,7 +47,11 @@ define Package/ap51-flash/install
        $(INSTALL_BIN) $(PKG_BUILD_DIR)/ap51-flash $(1)/usr/sbin/
        $(INSTALL_BIN) ./files/ap51-flash.init $(1)/etc/init.d/ap51-flash
        $(INSTALL_BIN) ./files/ap51-flash.sh $(1)/usr/lib/ap51-flash/ap51-flash.sh
-       $(INSTALL_DATA) ./files/ap51-flash.conf $(1)/etc/config/ap51-flash
+       $(INSTALL_DATA) ./files/ap51-flash.config $(1)/etc/config/ap51-flash
+endef
+
+define Package/ap51-flash/conffiles
+/etc/config/ap51-flash
 endef
 
 $(eval $(call BuildPackage,ap51-flash))
diff --git a/utils/ap51-flash/files/ap51-flash.conf b/utils/ap51-flash/files/ap51-flash.conf
deleted file mode 100644 (file)
index f66973f..0000000
+++ /dev/null
@@ -1,6 +0,0 @@
-#config flash
-#      option ifname   eth0.1
-#      option rootfs   /tmp/images/openwrt-atheros-root.squashfs
-#      option kernel   /tmp/images/openwrt-atheros-vmlinux.lzma
-#      option ubnt     /tmp/images/openwrt-atheros-ubnt5-squashfs.bin
-##     option loop     '1'
diff --git a/utils/ap51-flash/files/ap51-flash.config b/utils/ap51-flash/files/ap51-flash.config
new file mode 100644 (file)
index 0000000..f66973f
--- /dev/null
@@ -0,0 +1,6 @@
+#config flash
+#      option ifname   eth0.1
+#      option rootfs   /tmp/images/openwrt-atheros-root.squashfs
+#      option kernel   /tmp/images/openwrt-atheros-vmlinux.lzma
+#      option ubnt     /tmp/images/openwrt-atheros-ubnt5-squashfs.bin
+##     option loop     '1'