aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/layerscape/base-files/lib/preinit
diff options
context:
space:
mode:
authorAdrian Schmutzler <freifunk@adrianschmutzler.de>2021-06-06 19:17:47 +0200
committerAdrian Schmutzler <freifunk@adrianschmutzler.de>2021-06-06 19:17:47 +0200
commit2341c621e42e5fadd6b3205365fb448e44bcbbe0 (patch)
tree315efbdc960689c5acab67cdb4d95da8f382fd10 /target/linux/layerscape/base-files/lib/preinit
parent482e65a16d2c49b5547b032caa060f423a3cb4a5 (diff)
downloadupstream-2341c621e42e5fadd6b3205365fb448e44bcbbe0.tar.gz
upstream-2341c621e42e5fadd6b3205365fb448e44bcbbe0.tar.bz2
upstream-2341c621e42e5fadd6b3205365fb448e44bcbbe0.zip
treewide: do not quote compatible in shell scripts
The compatible is a literal string without any problematic characters, so there is no reason to quote it. Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
Diffstat (limited to 'target/linux/layerscape/base-files/lib/preinit')
-rw-r--r--target/linux/layerscape/base-files/lib/preinit/05_layerscape_reorder_eth4
1 files changed, 2 insertions, 2 deletions
diff --git a/target/linux/layerscape/base-files/lib/preinit/05_layerscape_reorder_eth b/target/linux/layerscape/base-files/lib/preinit/05_layerscape_reorder_eth
index 141aac8a6d..c6b741a5ce 100644
--- a/target/linux/layerscape/base-files/lib/preinit/05_layerscape_reorder_eth
+++ b/target/linux/layerscape/base-files/lib/preinit/05_layerscape_reorder_eth
@@ -6,8 +6,8 @@ reorder_layerscape_interfaces() {
board=$(cat /tmp/sysinfo/board_name)
case "$board" in
- "traverse,ls1043v" | \
- "traverse,ls1043s")
+ traverse,ls1043v|\
+ traverse,ls1043s)
# Reorder ethernet interfaces to match the physical order
ip link set eth2 name fm1-mac3