summaryrefslogtreecommitdiffstats
path: root/modules.d/slx-runmode/module-setup.sh
diff options
context:
space:
mode:
Diffstat (limited to 'modules.d/slx-runmode/module-setup.sh')
-rwxr-xr-xmodules.d/slx-runmode/module-setup.sh11
1 files changed, 2 insertions, 9 deletions
diff --git a/modules.d/slx-runmode/module-setup.sh b/modules.d/slx-runmode/module-setup.sh
index 82b56262..d9c991b7 100755
--- a/modules.d/slx-runmode/module-setup.sh
+++ b/modules.d/slx-runmode/module-setup.sh
@@ -8,13 +8,6 @@ depends() {
echo dnbd3-rootfs
}
install() {
- _name="s3-enable-runmode"
- inst "$moddir/hooks/${_name}.sh" \
- "/usr/local/bin/${_name}.sh"
- inst_simple "${moddir}/services/${_name}.service" \
- "${systemdsystemunitdir}/${_name}.service"
- mkdir --parents \
- "${initdir}/${systemdsystemunitdir}/initrd.target.wants"
- ln_r "${systemdsystemunitdir}/${_name}.service" \
- "${systemdsystemunitdir}/initrd.target.wants/${_name}.service"
+ slx_service "s3-enable-runmode" "Set up proper default target" \
+ --wafter "s3-fetch-config.service"
}