From: Alexander Miroshnichenko Date: Mon, 24 Feb 2020 15:14:26 +0000 (+0300) Subject: stratis module: fix start order X-Git-Tag: 050~16 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3ea80545d6544ab0e9bbfb9d418af5738400ef2e;p=thirdparty%2Fdracut.git stratis module: fix start order Change start script order to pre-mount as stratis require fully initialized udev. --- diff --git a/modules.d/90stratis/module-setup.sh b/modules.d/90stratis/module-setup.sh index 943f572ef..e13000b47 100755 --- a/modules.d/90stratis/module-setup.sh +++ b/modules.d/90stratis/module-setup.sh @@ -26,7 +26,7 @@ install() { inst_simple "${moddir}/stratisd-init.service" "${systemdsystemunitdir}/stratisd-init.service" systemctl -q --root "$initdir" enable stratisd-init.service else - inst_hook cmdline 25 "$moddir/stratisd-start.sh" + inst_hook pre-mount 25 "$moddir/stratisd-start.sh" inst_hook cleanup 25 "$moddir/stratisd-stop.sh" fi }