tools/viewconfig: initial commit

Signed-off-by: Ian Leonard <antonlacon@gmail.com>
This commit is contained in:
Ian Leonard 2021-02-06 08:07:30 +00:00
parent 63cf0d45de
commit ae65d1dd39
2 changed files with 9 additions and 6 deletions

6
config/show_config Executable file → Normal file
View File

@ -121,9 +121,3 @@ show_config() {
echo -e "$config_message"
}
if [ "${FUNCNAME[0]}" = "main" ]; then
. config/options ""
show_config
fi

9
tools/viewconfig Executable file
View File

@ -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