diff options
author | A. Wilcox <AWilcox@Wilcox-Tech.com> | 2023-11-08 21:36:31 -0600 |
---|---|---|
committer | A. Wilcox <AWilcox@Wilcox-Tech.com> | 2023-11-26 06:37:31 -0600 |
commit | 80917aef2fc31adee441f59a515887dd75d48bf8 (patch) | |
tree | 808e087d8ee48233f01d8e43216017461f5e563a /system/s6-linux-init/dracut_module.sh | |
parent | 42661809c0c64125282bd7d247af58b2af1f42da (diff) | |
download | packages-80917aef2fc31adee441f59a515887dd75d48bf8.tar.gz packages-80917aef2fc31adee441f59a515887dd75d48bf8.tar.bz2 packages-80917aef2fc31adee441f59a515887dd75d48bf8.tar.xz packages-80917aef2fc31adee441f59a515887dd75d48bf8.zip |
system/s6-linux-init: Add dracut module for hpr
s6-linux-init-hpr is needed in the initramfs environment for reboot and
poweroff to work.
Closes: #933
Diffstat (limited to 'system/s6-linux-init/dracut_module.sh')
-rwxr-xr-x | system/s6-linux-init/dracut_module.sh | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/system/s6-linux-init/dracut_module.sh b/system/s6-linux-init/dracut_module.sh new file mode 100755 index 000000000..106025ca7 --- /dev/null +++ b/system/s6-linux-init/dracut_module.sh @@ -0,0 +1,17 @@ +#!/bin/bash + +# called by dracut +check() { + return 0 +} + +# called by dracut +depends() { + return 0 +} + +# called by dracut +install() { + inst /bin/s6-linux-init-hpr +} + |