[package] base-files: sysupgrade: restrict find command to plain files to avoid dupli...
[openwrt.git] / package / base-files / files / sbin / sysupgrade
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
 }
 
This page took 0.037328 seconds and 4 git commands to generate.