Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 10 additions & 10 deletions bin/oref0-setup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -301,23 +301,23 @@ if [[ -z "$DIR" || -z "$serial" ]]; then
echo
fi

read -p "Enable automatic sensitivity adjustment? y/[N] " -r
if [[ $REPLY =~ ^[Yy]$ ]]; then
ENABLE+=" autosens "
echocolor "Ok, autosens will be enabled."
read -p "Enable automatic sensitivity adjustment? [Y]/n " -r
if [[ $REPLY =~ ^[Nn]$ ]]; then
echocolor "Ok, no autosens."
echo
else
echocolor "Ok, no autosens."
ENABLE+=" autosens "
echocolor "Ok, autosens will be enabled."
echo
fi

read -p "Enable autotuning of basals and ratios? y/[N] " -r
if [[ $REPLY =~ ^[Yy]$ ]]; then
ENABLE+=" autotune "
echocolor "Ok, autotune will be enabled. It will run around midnight."
read -p "Enable autotuning of basals and ratios? [Y]/n " -r
if [[ $REPLY =~ ^[Nn]$ ]]; then
echocolor "Ok, no autotune."
echo
else
echocolor "Ok, no autotune."
ENABLE+=" autotune "
echocolor "Ok, autotune will be enabled. It will run around midnight."
echo
fi

Expand Down