dracut-early-kdump: explicitly use bash

Currently dracut-early-kdump.sh claims to be POSIX compliant but it
sources kdump-lib.sh which uses bash-only syntax. Thus require bash for
dracut-early-kdump.sh as well.

Signed-off-by: Philipp Rudo <prudo@redhat.com>
Reviewed-by: Coiby Xu <coxu@redhat.com>
This commit is contained in:
Philipp Rudo 2023-01-12 16:31:01 +01:00 committed by Coiby Xu
parent 0578245746
commit ed6936f9fc
2 changed files with 2 additions and 2 deletions

View File

@ -22,7 +22,7 @@ space_redirects = true
shell_variant = bash
# Use dracut code style for *-module-setup.sh
[*-module-setup.sh]
[*-module-setup.sh,dracut-early-kdump.sh]
shell_variant = bash
indent_style = space
indent_size = 4

View File

@ -1,4 +1,4 @@
#! /bin/sh
#! /bin/bash
KEXEC=/sbin/kexec
standard_kexec_args="-p"