Skip to content

Commit

Permalink
ETHD_FRONTEND (#1657)
Browse files Browse the repository at this point in the history
  • Loading branch information
yorickdowne committed Dec 4, 2023
1 parent 2ccfabe commit 4242c38
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions ethd
Original file line number Diff line number Diff line change
Expand Up @@ -1200,7 +1200,7 @@ update() {
;;
esac
done
if [ "${DEBIAN_FRONTEND:-}" = "noninteractive" ]; then
if [ "${ETHD_FRONTEND:-}" = "noninteractive" ]; then
__non_interactive=1
fi

Expand Down Expand Up @@ -1439,7 +1439,7 @@ prune-geth() {
;;
esac
done
if [ "${DEBIAN_FRONTEND:-}" = "noninteractive" ]; then
if [ "${ETHD_FRONTEND:-}" = "noninteractive" ]; then
__non_interactive=1
fi

Expand Down Expand Up @@ -1572,7 +1572,7 @@ prune-nethermind() {
;;
esac
done
if [ "${DEBIAN_FRONTEND:-}" = "noninteractive" ]; then
if [ "${ETHD_FRONTEND:-}" = "noninteractive" ]; then
__non_interactive=1
fi

Expand Down Expand Up @@ -1763,7 +1763,7 @@ prep-keyimport() {
;;
esac
done
if [ "${DEBIAN_FRONTEND:-}" = "noninteractive" ]; then
if [ "${ETHD_FRONTEND:-}" = "noninteractive" ]; then
__non_interactive=1
fi
}
Expand Down Expand Up @@ -1992,7 +1992,7 @@ keys() {
if echo "$@" | grep -q '.*--non-interactive.*' 2>/dev/null ; then
__non_interactive=1
fi
if [ "${DEBIAN_FRONTEND:-}" = "noninteractive" ]; then
if [ "${ETHD_FRONTEND:-}" = "noninteractive" ]; then
__non_interactive=1
fi

Expand Down Expand Up @@ -3058,7 +3058,7 @@ help() {
echo " help"
echo " print this help screen"
echo
echo " Instead of \"--non-interactive\" you may also use the \"DEBIAN_FRONTEND=noninteractive\" environment variable"
echo " Instead of \"--non-interactive\" you may also use the \"ETHD_FRONTEND=noninteractive\" environment variable"
echo
echo "The logs command can be appended by flags and specify the container(s). Example: "
echo
Expand Down

0 comments on commit 4242c38

Please sign in to comment.