openwrtv4/package/base-files/files/lib
Mathias Kresin 60fce1258c base-files: don't overwrite model name set by target
The condition is always true due to the literal string followed the
-n test parameter. A model name set by target scripts always gets
overwritten this way.

Change the condition to check for an already existing destination file
as it was before 5e85ae9 ("base-files: fix error message during boot").

Signed-off-by: Mathias Kresin <dev@kresin.me>
2017-01-30 08:55:41 +01:00
..
functions base-files: uci-defaults: support requesting untagged switch port configuration 2016-11-02 01:06:29 +01:00
preinit base-files: don't overwrite model name set by target 2017-01-30 08:55:41 +01:00
upgrade base-files: save /bin/mknod for sysupgrade 2017-01-06 15:34:14 +01:00
functions.sh base-files: add support for overlaying rootfs content 2016-12-20 09:35:36 +01:00