File tree Expand file tree Collapse file tree 3 files changed +2
-6
lines changed
Expand file tree Collapse file tree 3 files changed +2
-6
lines changed Original file line number Diff line number Diff line change @@ -27,7 +27,6 @@ is_board_enabled() {
2727 fi
2828}
2929
30- # Function to get the actual config symbol from Config.in file
3130get_actual_config_symbol () {
3231 local board_name=$1
3332 local config_file=" ${BOARD_PACKAGE_DIR} /$board_name /Config.in"
@@ -52,7 +51,6 @@ for board_path in "$BOARD_SRC_DIR"/*; do
5251 if [ -d " $board_path " ]; then
5352 board_name=$( basename " $board_path " )
5453 config_symbol=$( get_actual_config_symbol " $board_name " )
55- (( total_count++ ))
5654
5755 if is_board_enabled " $config_symbol " ; then
5856 boards=" $boards $board_name "
Original file line number Diff line number Diff line change 166166 cp " $FAILURE_CFG " " $INIT_DATA "
167167fi
168168rc=$?
169- cat $INIT_DATA > /dev/console
170169# Ensure 'admin' group users always have access
171170chgrp wheel " $CFG_PATH_ "
172171chmod g+w " $CFG_PATH_ "
Original file line number Diff line number Diff line change @@ -97,7 +97,7 @@ filter_iface_ports()
9797 for phy in $ifaces ; do
9898 found=" "
9999 for port in $ports ; do
100- [ -d " /sys/class/net/${port} /wireless" ] && continue
100+ [ -d " /sys/class/net/${port} /wireless" ] && continue
101101 if [ " $port " = " $phy " ]; then
102102 found=true
103103 break
@@ -148,7 +148,6 @@ ports=$(ip -d -j link show group port | jq -r '
148148
149149# Remaining external interfaces not classified as switch ports
150150ifaces=" $( filter_iface_ports " $phys_ifaces " " $ports " ) "
151- compatible=$( cat ' /run/system.json' | jq -r ' .compatible | join(" ")' )
152151cat << EOF
153152{
154153 "ietf-interfaces:interfaces": {
@@ -194,7 +193,7 @@ cat <<EOF
194193 }
195194$( for iface in $ifaces ; do gen_iface_json " $iface " ; done)
196195$( for iface in $ports ; do gen_iface_json " $iface " " $bridge " ; done)
197- ]
196+ ]
198197EOF
199198if [ " $dhcp " = " true" ] && [ -n " $bridge " ]; then
200199cat << EOF
You can’t perform that action at this time.
0 commit comments