base-files: fix service_running check
[openwrt/staging/dedeckeh.git] / Config.in
index ddbc4e2ea40946454e547f906d5859334d93226b..65b6dd86aac2360a9c39ddbb65747e75185fa45f 100644 (file)
--- a/Config.in
+++ b/Config.in
@@ -1,10 +1,8 @@
-# Copyright (C) 2006-2013 OpenWrt.org
-#
-# This is free software, licensed under the GNU General Public License v2.
-# See /LICENSE for more information.
+# SPDX-License-Identifier: GPL-2.0-only
 #
+# Copyright (C) 2006-2013 OpenWrt.org
 
-mainmenu "LEDE Configuration"
+mainmenu "OpenWrt Configuration"
 
 config MODULES
        option modules
@@ -15,6 +13,14 @@ config HAVE_DOT_CONFIG
        bool
        default y
 
+HOST_OS := $(shell, uname)
+
+config HOST_OS_LINUX
+       def_bool $(shell, ./config/check-uname.sh Linux)
+
+config HOST_OS_MACOS
+       def_bool $(shell, ./config/check-uname.sh Darwin)
+
 source "target/Config.in"
 
 source "config/Config-images.in"