From 643a49676e0545791e974eb0cc9f1b270ddff98f Mon Sep 17 00:00:00 2001 From: downtownallday Date: Tue, 28 Jun 2022 20:56:48 -0400 Subject: [PATCH] rename ehdd/startup.sh ehdd/run-this-after-reboot.sh --- ehdd/README.md | 2 +- ehdd/postinstall.sh | 2 +- ehdd/{startup.sh => run-this-after-reboot.sh} | 0 tests/suites/ehdd.sh | 4 ++-- 4 files changed, 4 insertions(+), 4 deletions(-) rename ehdd/{startup.sh => run-this-after-reboot.sh} (100%) diff --git a/ehdd/README.md b/ehdd/README.md index fe2d0595..0b75edb3 100644 --- a/ehdd/README.md +++ b/ehdd/README.md @@ -16,7 +16,7 @@ continue normal setup operation. At the end of setup, services that utilize /home/user-data will be disabled from starting automatically after a reboot (because -/home/user-data will not have been mounted). Run `ehdd/startup.sh` +/home/user-data will not have been mounted). Run `ehdd/run-this-after-reboot.sh` after a reboot to remount the encrypted hard drive and launch the disabled services. diff --git a/ehdd/postinstall.sh b/ehdd/postinstall.sh index c414a6cf..944b8c55 100755 --- a/ehdd/postinstall.sh +++ b/ehdd/postinstall.sh @@ -21,7 +21,7 @@ if [ -e "$EHDD_IMG" ]; then echo "" echo "IMPORTANT:" echo " Services have been disabled at startup because the encrypted HDD will" - echo " be unavailable. Run ehdd/startup.sh after a reboot." + echo " be unavailable. Run ehdd/run-this-after-reboot.sh after a reboot." fi fi diff --git a/ehdd/startup.sh b/ehdd/run-this-after-reboot.sh similarity index 100% rename from ehdd/startup.sh rename to ehdd/run-this-after-reboot.sh diff --git a/tests/suites/ehdd.sh b/tests/suites/ehdd.sh index 734b5f2e..4544c531 100644 --- a/tests/suites/ehdd.sh +++ b/tests/suites/ehdd.sh @@ -26,8 +26,8 @@ test_ehdd_restart() { [ $? -ne 0 ] && test_failure "Could not unmount encryption-at-rest drive" # startup - record "[Run ehdd/startup.sh]" - ehdd/startup.sh >>$TEST_OF 2>&1 + record "[Run ehdd/run-this-after-reboot.sh]" + ehdd/run-this-after-reboot.sh >>$TEST_OF 2>&1 [ $? -ne 0 ] && test_failure "Could not start encryption-at-rest" popd >/dev/null