[package] base-files: sysupgrade: restrict find command to plain files to avoid dupli...
authorJo-Philipp Wich <jow@openwrt.org>
Fri, 20 Nov 2009 23:02:35 +0000 (23:02 +0000)
committerJo-Philipp Wich <jow@openwrt.org>
Fri, 20 Nov 2009 23:02:35 +0000 (23:02 +0000)
SVN-Revision: 18455

package/base-files/Makefile
package/base-files/files/sbin/sysupgrade

index 8138f1c..5957f14 100644 (file)
@@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk
 include $(INCLUDE_DIR)/kernel.mk
 
 PKG_NAME:=base-files
-PKG_RELEASE:=33
+PKG_RELEASE:=34
 
 PKG_FILE_DEPENDS:=$(PLATFORM_DIR)/ $(GENERIC_PLATFORM_DIR)/base-files/
 
index a582d43..0cf51cf 100755 (executable)
@@ -51,7 +51,8 @@ EOF
 
 add_uci_conffiles() {
        local file="$1"
-       find /etc/config /etc/passwd /etc/group /etc/dropbear /etc/firewall.user /etc/rc.local > "$file"
+       find /etc/config /etc/passwd /etc/group /etc/dropbear \
+               /etc/firewall.user /etc/rc.local -type f > "$file"
        return 0
 }