aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/pistachio
diff options
context:
space:
mode:
authorAdrian Schmutzler <freifunk@adrianschmutzler.de>2021-02-10 15:14:52 +0100
committerAdrian Schmutzler <freifunk@adrianschmutzler.de>2021-02-10 15:47:23 +0100
commit7157c77c6d872375c3f6f42a49d1627c4c692472 (patch)
treee48840e4084fadc927c63ab4d202a56aceb4ff00 /target/linux/pistachio
parent598b29585ed9501e751b8d3faf3b6e017ad96baa (diff)
downloadupstream-7157c77c6d872375c3f6f42a49d1627c4c692472.tar.gz
upstream-7157c77c6d872375c3f6f42a49d1627c4c692472.tar.bz2
upstream-7157c77c6d872375c3f6f42a49d1627c4c692472.zip
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>
Diffstat (limited to 'target/linux/pistachio')
-rwxr-xr-xtarget/linux/pistachio/base-files/etc/board.d/02_network6
-rw-r--r--target/linux/pistachio/base-files/lib/upgrade/platform.sh5
2 files changed, 2 insertions, 9 deletions
diff --git a/target/linux/pistachio/base-files/etc/board.d/02_network b/target/linux/pistachio/base-files/etc/board.d/02_network
index e7e0a9a930..8de2c8c38d 100755
--- a/target/linux/pistachio/base-files/etc/board.d/02_network
+++ b/target/linux/pistachio/base-files/etc/board.d/02_network
@@ -1,14 +1,10 @@
#!/bin/sh
+# SPDX-License-Identifier: GPL-2.0-only
#
# 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
-
board_config_update
ucidef_set_interface_lan 'eth0' 'dhcp'
diff --git a/target/linux/pistachio/base-files/lib/upgrade/platform.sh b/target/linux/pistachio/base-files/lib/upgrade/platform.sh
index 16ab341fb5..f64fe7d30d 100644
--- a/target/linux/pistachio/base-files/lib/upgrade/platform.sh
+++ b/target/linux/pistachio/base-files/lib/upgrade/platform.sh
@@ -1,9 +1,6 @@
+# SPDX-License-Identifier: GPL-2.0-only
#
# 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_DATA="/etc/fw_env.config"