aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/pistachio
diff options
context:
space:
mode:
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"