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>
15 lines
575 B
Bash
15 lines
575 B
Bash
#!/bin/bash
|
|
set -o pipefail # Didn't set -u on purpose, since users could pass empty $1
|
|
#
|
|
# SPDX-License-Identifier: LGPL-2.1+
|
|
#
|
|
# Copyright (c) 2021 Valve.
|
|
# Maintainer: Guilherme G. Piccoli <gpiccoli@igalia.com>
|
|
#
|
|
# Script that loads the panic kdump (from within a systemd service) and/or
|
|
# configures the Pstore-RAM mechanism. If the proper parameters are passed
|
|
# also, either it creates the minimal kdump initramfs for the running kernel
|
|
# or removes all the previously created ones. Since it runs on boot time,
|
|
# extra care is required to avoid boot hangs.
|
|
#
|