swconfig: supress error on non dtb machines.

This commit is contained in:
Arne Fitzenreiter
2015-02-11 08:07:49 +01:00
parent 30bf8c66d7
commit 309b7de86e

View File

@@ -25,7 +25,7 @@ fi
case "${1}" in
start)
case `cat /proc/device-tree/model` in
case `cat /proc/device-tree/model 2>/dev/null` in
"Lamobo-R1")
#
# Lamobo R1 aka BPi R1 Routerboard