mirror of
https://github.com/hanwckf/immortalwrt-mt798x.git
synced 2025-01-09 18:59:13 +08:00
target: use SPDX license identifiers on scripts
Use SPDX license tags to allow machines to check licenses. Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
This commit is contained in:
parent
598b29585e
commit
7157c77c6d
@ -1,11 +1,7 @@
|
|||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
|
# SPDX-License-Identifier: GPL-2.0-only
|
||||||
#
|
#
|
||||||
# Copyright (C) 2016 OpenWrt.org
|
# Copyright (C) 2016 OpenWrt.org
|
||||||
#
|
|
||||||
# This is free software, licensed under the GNU General Public License v2.
|
|
||||||
# See /LICENSE for more information.
|
|
||||||
#
|
|
||||||
|
|
||||||
set -x
|
set -x
|
||||||
[ $# -eq 5 ] || {
|
[ $# -eq 5 ] || {
|
||||||
|
@ -1,11 +1,7 @@
|
|||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
|
# SPDX-License-Identifier: GPL-2.0-only
|
||||||
#
|
#
|
||||||
# Copyright (C) 2016 OpenWrt.org
|
# Copyright (C) 2016 OpenWrt.org
|
||||||
#
|
|
||||||
# This is free software, licensed under the GNU General Public License v2.
|
|
||||||
# See /LICENSE for more information.
|
|
||||||
#
|
|
||||||
|
|
||||||
set -x
|
set -x
|
||||||
[ $# -eq 5 ] || {
|
[ $# -eq 5 ] || {
|
||||||
|
@ -1,11 +1,7 @@
|
|||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
|
# SPDX-License-Identifier: GPL-2.0-only
|
||||||
#
|
#
|
||||||
# Copyright (C) 2017 OpenWrt.org
|
# Copyright (C) 2017 OpenWrt.org
|
||||||
#
|
|
||||||
# This is free software, licensed under the GNU General Public License v2.
|
|
||||||
# See /LICENSE for more information.
|
|
||||||
#
|
|
||||||
|
|
||||||
set -x
|
set -x
|
||||||
[ $# -eq 5 ] || {
|
[ $# -eq 5 ] || {
|
||||||
|
@ -1,10 +1,7 @@
|
|||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
|
# SPDX-License-Identifier: GPL-2.0-only
|
||||||
#
|
#
|
||||||
# Copyright 2018 NXP
|
# Copyright 2018 NXP
|
||||||
#
|
|
||||||
# This is free software, licensed under the GNU General Public License v2.
|
|
||||||
# See /LICENSE for more information.
|
|
||||||
#
|
|
||||||
|
|
||||||
set -x
|
set -x
|
||||||
[ $# -eq 5 ] || {
|
[ $# -eq 5 ] || {
|
||||||
|
@ -1,6 +1,5 @@
|
|||||||
#!/usr/bin/env bash
|
#!/usr/bin/env bash
|
||||||
#
|
# SPDX-License-Identifier: GPL-2.0-or-later
|
||||||
# Licensed under the terms of the GNU GPL License version 2 or later.
|
|
||||||
#
|
#
|
||||||
# Author: Jason Wu <jason.hy.wu@gmail.com>
|
# Author: Jason Wu <jason.hy.wu@gmail.com>
|
||||||
# with modifications for multi-DTB-same-image by:
|
# with modifications for multi-DTB-same-image by:
|
||||||
|
@ -1,11 +1,8 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
# SPDX-License-Identifier: GPL-2.0-only
|
||||||
#
|
#
|
||||||
# Copyright © 2019 Alexey Loukianov <lx2@lexa2.ru>
|
# Copyright © 2019 Alexey Loukianov <lx2@lexa2.ru>
|
||||||
# Copyright © 2020 David Woodhouse <dwmw2@infradead.org>
|
# Copyright © 2020 David Woodhouse <dwmw2@infradead.org>
|
||||||
#
|
|
||||||
# This is free software, licensed under the GNU General Public License v2.
|
|
||||||
# See /LICENSE for more information.
|
|
||||||
#
|
|
||||||
|
|
||||||
# Generates a bootable SD card image for Banana Pi R2 (and probably
|
# Generates a bootable SD card image for Banana Pi R2 (and probably
|
||||||
# other similar boards) as documented at
|
# other similar boards) as documented at
|
||||||
|
@ -1,10 +1,8 @@
|
|||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
|
# SPDX-License-Identifier: GPL-2.0-only
|
||||||
#
|
#
|
||||||
# Copyright © 2020 David Woodhouse <dwmw2@infradead.org>
|
# Copyright © 2020 David Woodhouse <dwmw2@infradead.org>
|
||||||
#
|
#
|
||||||
# This is free software, licensed under the GNU General Public License v2.
|
|
||||||
# See /LICENSE for more information.
|
|
||||||
#
|
|
||||||
# Generate as "scatter file" for use with the MediaTek SP Flash tool for
|
# Generate as "scatter file" for use with the MediaTek SP Flash tool for
|
||||||
# writing images to MediaTek boards. This can be used to write images
|
# writing images to MediaTek boards. This can be used to write images
|
||||||
# even on a bricked board which has no preloader installed, or broken
|
# even on a bricked board which has no preloader installed, or broken
|
||||||
|
@ -1,21 +1,7 @@
|
|||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
|
# SPDX-License-Identifier: GPL-2.0-or-later
|
||||||
#
|
#
|
||||||
# Copyright (C) 2016 Josua Mayer
|
# Copyright (C) 2016 Josua Mayer
|
||||||
#
|
|
||||||
# This program is free software; you can redistribute it and/or
|
|
||||||
# modify it under the terms of the GNU General Public License
|
|
||||||
# as published by the Free Software Foundation; either version 2
|
|
||||||
# of the License, or (at your option) any later version.
|
|
||||||
#
|
|
||||||
# This program is distributed in the hope that it will be useful,
|
|
||||||
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
||||||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
||||||
# GNU General Public License for more details.
|
|
||||||
#
|
|
||||||
# You should have received a copy of the GNU General Public License
|
|
||||||
# along with this program; if not, write to the Free Software
|
|
||||||
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
|
|
||||||
#
|
|
||||||
|
|
||||||
usage() {
|
usage() {
|
||||||
echo "$0 <outfile> [<bootloader> <type_partitionN> <size_partitionN> <img_partitionN>]?"
|
echo "$0 <outfile> [<bootloader> <type_partitionN> <size_partitionN> <img_partitionN>]?"
|
||||||
|
@ -1,10 +1,7 @@
|
|||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
|
# SPDX-License-Identifier: GPL-2.0-only
|
||||||
#
|
#
|
||||||
# Copyright (C) 2015 OpenWrt.org
|
# Copyright (C) 2015 OpenWrt.org
|
||||||
#
|
|
||||||
# This is free software, licensed under the GNU General Public License v2.
|
|
||||||
# See /LICENSE for more information.
|
|
||||||
#
|
|
||||||
|
|
||||||
set -x
|
set -x
|
||||||
[ $# -eq 4 ] || {
|
[ $# -eq 4 ] || {
|
||||||
|
@ -1,10 +1,7 @@
|
|||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
|
# SPDX-License-Identifier: GPL-2.0-only
|
||||||
#
|
#
|
||||||
# Copyright (C) 2015 OpenWrt.org
|
# Copyright (C) 2015 OpenWrt.org
|
||||||
#
|
|
||||||
# This is free software, licensed under the GNU General Public License v2.
|
|
||||||
# See /LICENSE for more information.
|
|
||||||
#
|
|
||||||
|
|
||||||
set -x
|
set -x
|
||||||
[ $# -eq 6 ] || {
|
[ $# -eq 6 ] || {
|
||||||
|
@ -1,11 +1,7 @@
|
|||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
|
# SPDX-License-Identifier: GPL-2.0-only
|
||||||
#
|
#
|
||||||
# Copyright (C) 2013 OpenWrt.org
|
# Copyright (C) 2013 OpenWrt.org
|
||||||
#
|
|
||||||
# This is free software, licensed under the GNU General Public License v2.
|
|
||||||
# See /LICENSE for more information.
|
|
||||||
#
|
|
||||||
|
|
||||||
set -x
|
set -x
|
||||||
[ $# -eq 5 ] || {
|
[ $# -eq 5 ] || {
|
||||||
|
@ -1,14 +1,10 @@
|
|||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
|
# SPDX-License-Identifier: GPL-2.0-only
|
||||||
#
|
#
|
||||||
# Copyright (C) 2017 OpenWrt.org
|
# Copyright (C) 2017 OpenWrt.org
|
||||||
#
|
|
||||||
# This is free software, licensed under the GNU General Public License v2.
|
|
||||||
# See /LICENSE for more information.
|
|
||||||
#
|
|
||||||
|
|
||||||
. /lib/functions/uci-defaults.sh
|
. /lib/functions/uci-defaults.sh
|
||||||
|
|
||||||
|
|
||||||
board_config_update
|
board_config_update
|
||||||
|
|
||||||
ucidef_set_interface_lan 'eth0' 'dhcp'
|
ucidef_set_interface_lan 'eth0' 'dhcp'
|
||||||
|
@ -1,9 +1,6 @@
|
|||||||
|
# SPDX-License-Identifier: GPL-2.0-only
|
||||||
#
|
#
|
||||||
# Copyright (C) 2017 OpenWrt.org
|
# Copyright (C) 2017 OpenWrt.org
|
||||||
#
|
|
||||||
# This is free software, licensed under the GNU General Public License v2.
|
|
||||||
# See /LICENSE for more information.
|
|
||||||
#
|
|
||||||
|
|
||||||
RAMFS_COPY_BIN='fw_printenv fw_setenv dmesg'
|
RAMFS_COPY_BIN='fw_printenv fw_setenv dmesg'
|
||||||
RAMFS_COPY_DATA="/etc/fw_env.config"
|
RAMFS_COPY_DATA="/etc/fw_env.config"
|
||||||
|
@ -1,10 +1,7 @@
|
|||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
|
# SPDX-License-Identifier: GPL-2.0-only
|
||||||
#
|
#
|
||||||
# Copyright (C) 2013 OpenWrt.org
|
# Copyright (C) 2013 OpenWrt.org
|
||||||
#
|
|
||||||
# This is free software, licensed under the GNU General Public License v2.
|
|
||||||
# See /LICENSE for more information.
|
|
||||||
#
|
|
||||||
|
|
||||||
set -ex
|
set -ex
|
||||||
[ $# -eq 6 ] || {
|
[ $# -eq 6 ] || {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user