-#!/bin/sh
-
preinit_set_mac_address() {
. /lib/functions.sh
-#!/bin/sh
-
apm821xx_set_preinit_iface() {
ifname=eth0
}
-#!/bin/sh
-
BOOTPART=/dev/sda1
move_config() {
-#!/bin/sh
-
PART_NAME=firmware
REQUIRE_IMAGE_METADATA=1
-#!/bin/sh
#
# Copyright (C) 2015 OpenWrt.org
#
-#!/bin/sh
-
do_arc() {
- . /lib/arc.sh
+ . /lib/arc.sh
- arc_board_detect
+ arc_board_detect
}
boot_hook_add preinit_main do_arc
-#!/bin/sh
-
do_arc() {
- . /lib/arc.sh
+ . /lib/arc.sh
- arc_board_detect
+ arc_board_detect
}
boot_hook_add preinit_main do_arc
-#!/bin/sh
#
# Copyright (C) 2014 OpenWrt.org
#
-#!/bin/sh
-
do_at91() {
. /lib/at91.sh
-#!/bin/sh
-
# reset button only supported on ar5315+ at the moment
preinit_ip() {
if [ -z "$pi_ifname" ]; then
-#!/bin/sh
-
. /lib/functions.sh
. /lib/functions/migrations.sh
-#!/bin/sh
. /lib/functions.sh
fix_seama_header() {
-#!/bin/sh
#
# Copyright (C) 2018 Weijie Gao <hackpascal@gmail.com>
#
-#!/bin/sh
-
. /lib/functions.sh
preinit_set_mac_address() {
-#!/bin/sh
-
. /lib/functions.sh
. /lib/functions/migrations.sh
-#!/bin/sh
# Copyright (C) 2015-2016 OpenWrt.org
# Copyright (C) 2017 LEDE project
-#!/bin/sh
# Copyright (C) 2015 OpenWrt.org
. /lib/upgrade/common.sh
-#!/bin/sh
#
# Copyright (C) 2014-2015 OpenWrt.org
#
-#!/bin/sh
#
# Copyright (C) 2007 OpenWrt.org
#
-#
mtd fixtrx firmware
-#!/bin/sh
-
do_sysinfo_bcm47xx() {
local boardtype="$(nvram get boardtype)"
local boardnum="$(nvram get boardnum)"
-#!/bin/sh
-
kernel_size=$(sed -n 's/mtd[0-9]*: \([0-9a-f]*\).*"\(kernel\|linux\)".*/\1/p' /proc/mtd)
mtd ${kernel_size:+-c 0x$kernel_size} fixtrx firmware && exit 0
-#!/bin/sh
#
# Copyright (C) 2007 OpenWrt.org
#
-#
. /lib/functions.sh
-#!/bin/sh
-
CNS3XXX_BOARD_NAME=
CNS3XXX_MODEL=
-#!/bin/sh
-
do_sysinfo_cns3xxx() {
. /lib/cns3xxx.sh
-#!/bin/sh
#
# Copyright (C) 2019 OpenWrt.org
#
-#!/bin/sh
-
. /lib/functions.sh
. /lib/functions/system.sh
-#!/bin/sh
#
# Copyright (C) 2010-2013 OpenWrt.org
#
-#!/bin/sh
-
do_sysinfo_imx6() {
. /lib/imx6.sh
-#!/bin/sh
-
. /lib/imx6.sh
. /lib/functions.sh
. /lib/upgrade/common.sh
-#!/bin/sh
-
. /lib/functions.sh
preinit_set_mac_address() {
-#!/bin/sh
-
set_preinit_iface() {
. /lib/functions.sh
-#!/bin/sh
# Copyright (C) 2018 OpenWrt.org
#
-#!/bin/sh
#
# Copyright (C) 2013 OpenWrt.org
#
-#!/bin/sh
-
. /lib/functions.sh
IFNAME_CHANGED=0
-#!/bin/sh
-
reorder_layerscape_interfaces() {
if [ ! -f /tmp/sysinfo/board_name ]; then
echo "No board name found, not doing reorder_layerscape_interfaces"
-#!/bin/sh
#
# Copyright 2015-2019 Traverse Technologies
#
-#!/bin/sh
-
set_preinit_iface() {
ifconfig eth0 up
ifname=lan1
-#!/bin/sh
-
set_rps_sock_flow() {
echo 1024 > /proc/sys/net/core/rps_sock_flow_entries
}
-#!/bin/sh
# Copyright (C) 2018 OpenWrt.org
RECOVERY_PART=/dev/mmcblk0p1
-#!/bin/sh
# Copyright (C) 2015 OpenWrt.org
. /lib/upgrade/common.sh
-#!/bin/sh
#
# Copyright (C) 2013 OpenWrt.org
#
-#!/bin/sh
# Copyright (C) 2015 OpenWrt.org
. /lib/functions.sh
-#!/bin/sh
#
# Copyright (C) 2015 OpenWrt.org
#
-#!/bin/sh
#
# Copyright (C) 2017 LEDE-Project.org
#
-#!/bin/sh
# Copyright (C) 2014 OpenWrt.org
move_config() {
-#!/bin/sh
# Copyright (C) 2012-2015 OpenWrt.org
move_config() {
-#!/bin/sh
#
# Copyright (C) 2017 OpenWrt.org
#
-#!/bin/sh
#
# Copyright (C) 2012 OpenWrt.org
#
-#!/bin/sh
-
. /lib/functions.sh
. /lib/functions/migrations.sh
-#!/bin/sh
-
. /lib/functions.sh
. /lib/functions/migrations.sh
-#!/bin/sh
-
. /lib/functions.sh
mt7621_bringup_dsa_master() {
-#!/bin/sh
-
. /lib/functions.sh
. /lib/functions/migrations.sh
-#!/bin/sh
-
. /lib/functions.sh
. /lib/functions/migrations.sh
-#!/bin/sh
-
# Netgear WNCE2001 has does a checksum check on boot and goes into recovery
# tftp mode when the check fails. Initializing the JFFS2 partition triggers
# this, so we make sure to zero checksum and size to be checksummed before
-#!/bin/sh
-
# Netgear WNCE2001 has does a checksum check on boot and goes into recovery
# tftp mode when the check fails. Initializing the JFFS2 partition triggers
# this, so we make sure to zero checksum and size to be checksummed before
-#!/bin/sh
# Copyright (C) 2010 OpenWrt.org
do_mount_xenfs() {
-#!/bin/sh
# Copyright (C) 2018 OpenWrt.org
do_load_x86_ucode() {
-#!/bin/sh
# Copyright (C) 2006-2010 OpenWrt.org
# Copyright (C) 2010 Vertical Communications
-#!/bin/sh
# Copyright (C) 2012-2015 OpenWrt.org
move_config() {
-#!/bin/sh
-
upgrade_bootloader() {
local diskdev
-#!/bin/sh
# Copyright (C) 2010 OpenWrt.org
do_mount_xenfs() {