all: Move the multi-configuration file reading routine to a common helper
Based on Emil's (xexaxo) feedback, we now have a common.sh file that contains the implementation of the routine to read all config files for kdump/pstore, and we use Makefile to join the files, having the same implemention in all users. Signed-off-by: Guilherme G. Piccoli <gpiccoli@igalia.com>
This commit is contained in:
14
kdump-load.header
Normal file
14
kdump-load.header
Normal file
@ -0,0 +1,14 @@
|
||||
#!/bin/bash
|
||||
set -uo pipefail
|
||||
#
|
||||
# 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.
|
||||
#
|
||||
Reference in New Issue
Block a user