diff options
author | Simon Rettberg | 2024-06-12 14:21:40 +0200 |
---|---|---|
committer | Simon Rettberg | 2024-06-12 14:21:40 +0200 |
commit | 4aebbd2a76e48ace73a9f290887f42af60644446 (patch) | |
tree | 47c61d556b2f2c5d523790c0c61ef095d232e05f /modules.d/slx-extra-script/module-setup.sh | |
parent | [busybox] module-setup: Bail out if build fails (diff) | |
download | systemd-init-4aebbd2a76e48ace73a9f290887f42af60644446.tar.gz systemd-init-4aebbd2a76e48ace73a9f290887f42af60644446.tar.xz systemd-init-4aebbd2a76e48ace73a9f290887f42af60644446.zip |
[slx-extra-script] New module to run script from URL
Diffstat (limited to 'modules.d/slx-extra-script/module-setup.sh')
-rwxr-xr-x | modules.d/slx-extra-script/module-setup.sh | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/modules.d/slx-extra-script/module-setup.sh b/modules.d/slx-extra-script/module-setup.sh new file mode 100755 index 00000000..02f61391 --- /dev/null +++ b/modules.d/slx-extra-script/module-setup.sh @@ -0,0 +1,13 @@ +#!/usr/bin/env bash + +check() { + return 255 +} +depends() { + echo conf-tgz +} +install() { + slx_service "s3-extra-script" "Execute extra script from URL" \ + --wafter "s3-fetch-config.service" \ + --before "s3-dnbd3root.service" +} |