summaryrefslogtreecommitdiffstats
path: root/package/base-files/files/sbin/sysupgrade
diff options
context:
space:
mode:
authorjow <jow@3c298f89-4303-0410-b956-a3cf2f4a3e73>2009-11-20 23:02:35 +0000
committerjow <jow@3c298f89-4303-0410-b956-a3cf2f4a3e73>2009-11-20 23:02:35 +0000
commit7e63500a2879f77b19064291306e0ef4fd62e389 (patch)
tree8b0a2bce0474e18b547c9d235f8360ba39c59f53 /package/base-files/files/sbin/sysupgrade
parent2f66d7b8148ab24b19de1a5b8321a89de10e0b3e (diff)
[package] base-files: sysupgrade: restrict find command to plain files to avoid duplicates when generating the conffiles tgz archive
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@18455 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/base-files/files/sbin/sysupgrade')
-rwxr-xr-xpackage/base-files/files/sbin/sysupgrade3
1 files changed, 2 insertions, 1 deletions
diff --git a/package/base-files/files/sbin/sysupgrade b/package/base-files/files/sbin/sysupgrade
index a582d432f..0cf51cfb7 100755
--- a/package/base-files/files/sbin/sysupgrade
+++ b/package/base-files/files/sbin/sysupgrade
@@ -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
}