dracut: make module-setup.sh shebang explicit

while these are source by dracut (which is a bash script)
the practical difference is small, but it is more correct:

/bin/sh is not bash on all systems (e.g. Debian and its
derivatives use /bin/dash as /bin/sh by default).

Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
Closes #6491
This commit is contained in:
Fabian-Gruenbichler 2017-08-14 19:56:04 +02:00 committed by Brian Behlendorf
parent b525630342
commit 42a76fc8d7
2 changed files with 2 additions and 2 deletions

View File

@ -1,4 +1,4 @@
#!/bin/sh
#!/bin/bash
get_devtype() {
local typ

View File

@ -1,4 +1,4 @@
#!/bin/sh
#!/bin/bash
check() {
# We depend on udev-rules being loaded