all: Rename the tool to kdumpst
Big but self-explanatory commit: rename the tool. The name choice was kdumpst, since it's a tool to enable both kdump and pstore setting, also it's a silly wordplay with the superlative of kdump, as in "kdumpest". It's an invasive change (touches most of the files), but should offer no functional change other than logging messages showing kdumpst now, instead of kdump, and some filenames. Notice it doesn't touch documentation, which will be done in a subsequent commit. Signed-off-by: Guilherme G. Piccoli <gpiccoli@igalia.com>
This commit is contained in:
@ -2,10 +2,10 @@
|
||||
# This function has the purpose of loading the necessary external
|
||||
# variables, in the form of one (or more) configuration file(s). If the
|
||||
# procedure fails, we must abort - otherwise it'll fail in a later stage.
|
||||
load_kdump_config() {
|
||||
load_kdumpst_config() {
|
||||
HAVE_CFG_FILES=0
|
||||
shopt -s nullglob
|
||||
for cfg in "/usr/share/kdump.d"/*; do
|
||||
for cfg in "/usr/share/kdumpst.d"/*; do
|
||||
if [ -f "$cfg" ]; then
|
||||
. "$cfg"
|
||||
HAVE_CFG_FILES=1
|
||||
@ -14,7 +14,7 @@ load_kdump_config() {
|
||||
shopt -u nullglob
|
||||
|
||||
if [ ${HAVE_CFG_FILES} -eq 0 ]; then
|
||||
logger "kdump: no config files in /usr/share/kdump.d/ - aborting."
|
||||
logger "kdumpst: no config files in /usr/share/kdumpst.d/ - aborting."
|
||||
exit 1
|
||||
fi
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user