adguardhome: add SPDX license identifiers

Add GPL 2.0 only SPDX license identifiers to Makefile and all scripts.

Signed-off-by: George Sapkin <george@sapk.in>
This commit is contained in:
George Sapkin
2025-12-04 06:52:42 +02:00
parent 605a457cac
commit e0d24e48fd
4 changed files with 8 additions and 4 deletions

View File

@@ -1,7 +1,4 @@
#
# This is free software, licensed under the GNU General Public License v2.
# See /LICENSE for more information.
#
# SPDX-License-Identifier: GPL-2.0-only
include $(TOPDIR)/rules.mk

View File

@@ -1,4 +1,6 @@
#!/bin/sh
#
# SPDX-License-Identifier: GPL-2.0-only
# Migrate old config format only
OLD_CONFIG_FILE=$(uci -q get adguardhome.config.config)

View File

@@ -1,4 +1,7 @@
#!/bin/sh /etc/rc.common
#
# SPDX-License-Identifier: GPL-2.0-only
#
# shellcheck disable=SC3043 # ash supports local
PROG=/usr/bin/AdGuardHome

View File

@@ -1,3 +1,5 @@
#!/bin/sh
#
# SPDX-License-Identifier: GPL-2.0-only
AdGuardHome --version | grep -F "$PKG_VERSION"