Module shebang: sh or bash? #1632
-
I'm looking at making anaconda's dracut modules report clean when shellcheck-ed. The modules we have use both Can I do that, and if so, which is more correct to use? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
In an initramfs with So that is basically for use cases, where you want a really tiny initramfs. |
Beta Was this translation helpful? Give feedback.
In an initramfs with
dash
installed andbash
omitted,/bin/sh
points to a posix shell, and all modules which needbash
can not be installed.So that is basically for use cases, where you want a really tiny initramfs.