~mil/sxmo-utils

b20dd10558c5e4fe9a514e095ec9ac090cc38234 — Emmanuel LE TRONG 23 days ago c769ef1
Customize default text draft

Allow the user to change the default content of a text draft.

Signed-off-by: Emmanuel LE TRONG <emmanuel.le-trong@cnrs-orleans.fr>
Signed-off-by: Stacy Harper <contact@stacyharper.net>
1 files changed, 1 insertions(+), 1 deletions(-)

M scripts/modem/sxmo_modemtext.sh
M scripts/modem/sxmo_modemtext.sh => scripts/modem/sxmo_modemtext.sh +1 -1
@@ 57,7 57,7 @@ sendtextmenu() {
	DRAFT="$SXMO_LOGDIR/$NUMBER/draft.txt"
	if [ ! -f "$DRAFT" ]; then
		mkdir -p "$(dirname "$DRAFT")"
		echo 'Enter text message here' > "$DRAFT"
		echo ${SXMO_DEFAULT_DRAFT:-Enter text message here} > "$DRAFT"
	fi

	# shellcheck disable=SC2086