Trim down the configure-stormux stub a bit more. It's actually tiny now for what is needed.
This commit is contained in:
@@ -1,17 +1,9 @@
|
|||||||
#!/usr/bin/env bash
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
# For audible sudo prompts:
|
|
||||||
unset sudoFlags
|
|
||||||
if [[ -x /etc/audibleprompt.sh ]]; then
|
|
||||||
export SUDO_ASKPASS=/etc/audibleprompt.sh
|
|
||||||
export sudoFlags=("-A")
|
|
||||||
fi
|
|
||||||
|
|
||||||
trap cleanup EXIT
|
trap cleanup EXIT
|
||||||
cleanup() {
|
cleanup() {
|
||||||
echo "Initial setup is not complete."
|
|
||||||
echo "To continue setup, please run:"
|
echo "To continue setup, please run:"
|
||||||
echo "sudo configure-stormux"
|
echo "configure-stormux"
|
||||||
}
|
}
|
||||||
|
|
||||||
# Volume calibration is now handled in stormux_first_boot.sh
|
# Volume calibration is now handled in stormux_first_boot.sh
|
||||||
@@ -76,8 +68,6 @@ else
|
|||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
echo
|
|
||||||
echo "Initial setup is complete."
|
|
||||||
echo
|
echo
|
||||||
read -rp "Would you like to run the Stormux installer? [y/N]: " answer
|
read -rp "Would you like to run the Stormux installer? [y/N]: " answer
|
||||||
answer="${answer:0:1}"
|
answer="${answer:0:1}"
|
||||||
|
|||||||
Reference in New Issue
Block a user