1
0
mirror of https://github.com/mail-in-a-box/mailinabox.git synced 2025-04-03 00:07:05 +00:00

rename ehdd/startup.sh ehdd/run-this-after-reboot.sh

This commit is contained in:
downtownallday 2022-06-28 20:56:48 -04:00
parent b2e4e8a38f
commit 643a49676e
4 changed files with 4 additions and 4 deletions

View File

@ -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.

View File

@ -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

View File

@ -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