summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xmodules.d/slx-runmode/hooks/s3-enable-runmode.sh2
-rwxr-xr-xmodules.d/slx-runmode/module-setup.sh3
2 files changed, 3 insertions, 2 deletions
diff --git a/modules.d/slx-runmode/hooks/s3-enable-runmode.sh b/modules.d/slx-runmode/hooks/s3-enable-runmode.sh
index 8084a4e3..740f49cf 100755
--- a/modules.d/slx-runmode/hooks/s3-enable-runmode.sh
+++ b/modules.d/slx-runmode/hooks/s3-enable-runmode.sh
@@ -1,4 +1,4 @@
-#!/usr/bin/env bash
+#!/bin/ash
#
# SLX_SYSTEMD_TARGET overrides the default.target to boot
# the stage4 into - required for the so-called 'run mode'.
diff --git a/modules.d/slx-runmode/module-setup.sh b/modules.d/slx-runmode/module-setup.sh
index d9c991b7..34d6f89a 100755
--- a/modules.d/slx-runmode/module-setup.sh
+++ b/modules.d/slx-runmode/module-setup.sh
@@ -9,5 +9,6 @@ depends() {
}
install() {
slx_service "s3-enable-runmode" "Set up proper default target" \
- --wafter "s3-fetch-config.service"
+ --wafter "s3-fetch-config.service" \
+ --wafter "initrd-fs.target"
}