diff options
Diffstat (limited to 'modules.d/slx-extra-script/module-setup.sh')
-rwxr-xr-x | modules.d/slx-extra-script/module-setup.sh | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/modules.d/slx-extra-script/module-setup.sh b/modules.d/slx-extra-script/module-setup.sh index 02f61391..da057429 100755 --- a/modules.d/slx-extra-script/module-setup.sh +++ b/modules.d/slx-extra-script/module-setup.sh @@ -10,4 +10,9 @@ install() { slx_service "s3-extra-script" "Execute extra script from URL" \ --wafter "s3-fetch-config.service" \ --before "s3-dnbd3root.service" + mkdir --parents "${initdir}/${systemdsystemunitdir}/initrd.target.wants" + inst_simple "${moddir}/services/s3-extra-post-dmsetup.service" \ + "${systemdsystemunitdir}/s3-extra-post-dmsetup.service" + ln_r "${systemdsystemunitdir}/s3-extra-post-dmsetup.service" \ + "${systemdsystemunitdir}/initrd.target.wants/s3-extra-post-dmsetup.service" } |