mirror of
https://github.com/mail-in-a-box/mailinabox.git
synced 2025-04-07 00:47:05 +00:00
rename ehdd/startup.sh ehdd/run-this-after-reboot.sh
This commit is contained in:
parent
b2e4e8a38f
commit
643a49676e
@ -16,7 +16,7 @@ continue normal setup operation.
|
|||||||
|
|
||||||
At the end of setup, services that utilize /home/user-data will be
|
At the end of setup, services that utilize /home/user-data will be
|
||||||
disabled from starting automatically after a reboot (because
|
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
|
after a reboot to remount the encrypted hard drive and launch the
|
||||||
disabled services.
|
disabled services.
|
||||||
|
|
||||||
|
@ -21,7 +21,7 @@ if [ -e "$EHDD_IMG" ]; then
|
|||||||
echo ""
|
echo ""
|
||||||
echo "IMPORTANT:"
|
echo "IMPORTANT:"
|
||||||
echo " Services have been disabled at startup because the encrypted HDD will"
|
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
|
||||||
|
|
||||||
fi
|
fi
|
||||||
|
@ -26,8 +26,8 @@ test_ehdd_restart() {
|
|||||||
[ $? -ne 0 ] && test_failure "Could not unmount encryption-at-rest drive"
|
[ $? -ne 0 ] && test_failure "Could not unmount encryption-at-rest drive"
|
||||||
|
|
||||||
# startup
|
# startup
|
||||||
record "[Run ehdd/startup.sh]"
|
record "[Run ehdd/run-this-after-reboot.sh]"
|
||||||
ehdd/startup.sh >>$TEST_OF 2>&1
|
ehdd/run-this-after-reboot.sh >>$TEST_OF 2>&1
|
||||||
[ $? -ne 0 ] && test_failure "Could not start encryption-at-rest"
|
[ $? -ne 0 ] && test_failure "Could not start encryption-at-rest"
|
||||||
|
|
||||||
popd >/dev/null
|
popd >/dev/null
|
||||||
|
Loading…
Reference in New Issue
Block a user