diff options
Diffstat (limited to 'package/base-files')
-rwxr-xr-x | package/base-files/files/bin/board_detect | 2 | ||||
-rw-r--r--[-rwxr-xr-x] | package/base-files/files/etc/board.d/99-default_network | 1 |
2 files changed, 1 insertions, 2 deletions
diff --git a/package/base-files/files/bin/board_detect b/package/base-files/files/bin/board_detect index 840bd0178d..94f45bec53 100755 --- a/package/base-files/files/bin/board_detect +++ b/package/base-files/files/bin/board_detect @@ -6,7 +6,7 @@ CFG=$1 [ -d "/etc/board.d/" -a ! -s "$CFG" ] && { for a in $(ls /etc/board.d/*); do - [ -x $a ] || continue; + [ -s $a ] || continue; $(. $a) done } diff --git a/package/base-files/files/etc/board.d/99-default_network b/package/base-files/files/etc/board.d/99-default_network index d70aa352b9..49d2a3b354 100755..100644 --- a/package/base-files/files/etc/board.d/99-default_network +++ b/package/base-files/files/etc/board.d/99-default_network @@ -1,4 +1,3 @@ -#!/bin/sh # # Copyright (C) 2013-2015 OpenWrt.org # |