From ae65d1dd39a9140efeefbbbe9509a7883847c385 Mon Sep 17 00:00:00 2001 From: Ian Leonard Date: Sat, 6 Feb 2021 08:07:30 +0000 Subject: [PATCH] tools/viewconfig: initial commit Signed-off-by: Ian Leonard --- config/show_config | 6 ------ tools/viewconfig | 9 +++++++++ 2 files changed, 9 insertions(+), 6 deletions(-) mode change 100755 => 100644 config/show_config create mode 100755 tools/viewconfig diff --git a/config/show_config b/config/show_config old mode 100755 new mode 100644 index 5e2e3261b5..d6c25f89fa --- a/config/show_config +++ b/config/show_config @@ -121,9 +121,3 @@ show_config() { echo -e "$config_message" } - - -if [ "${FUNCNAME[0]}" = "main" ]; then - . config/options "" - show_config -fi diff --git a/tools/viewconfig b/tools/viewconfig new file mode 100755 index 0000000000..9bcecf63c3 --- /dev/null +++ b/tools/viewconfig @@ -0,0 +1,9 @@ +#!/bin/bash + +# SPDX-License-Identifier: GPL-2.0 +# Copyright (C) 2021-present Team LibreELEC (https://libreelec.tv) + +. config/options "" +. config/show_config + +show_config