summaryrefslogtreecommitdiff
path: root/package/base-files/files/sbin
diff options
context:
space:
mode:
authorJo-Philipp Wich <jow@openwrt.org>2009-11-20 23:02:35 +0000
committerJo-Philipp Wich <jow@openwrt.org>2009-11-20 23:02:35 +0000
commit4d9b1d6c756b76e037285a7519c4ec20014aa654 (patch)
tree543df33af0f3de47b961f4f401c9dbe67343947b /package/base-files/files/sbin
parent60a4353fdd5bb91d209a6fe970c70361b15a0ea5 (diff)
downloadmtk-20170518-4d9b1d6c756b76e037285a7519c4ec20014aa654.zip
mtk-20170518-4d9b1d6c756b76e037285a7519c4ec20014aa654.tar.gz
mtk-20170518-4d9b1d6c756b76e037285a7519c4ec20014aa654.tar.bz2
base-files: sysupgrade: restrict find command to plain files to avoid duplicates when generating the conffiles tgz archive
SVN-Revision: 18455
Diffstat (limited to 'package/base-files/files/sbin')
-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 a582d43..0cf51cf 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
}