diff options
| author | Bruce Hill <bruce@bruce-hill.com> | 2020-02-24 03:39:44 -0800 |
|---|---|---|
| committer | Bruce Hill <bruce@bruce-hill.com> | 2020-02-24 03:39:44 -0800 |
| commit | 88fd9c416be0f5fe1e5fd48ba7c27d4d1e25261c (patch) | |
| tree | cfe311fb81c1d12e46b08de175a6296f0aed7a0d /helpers/bbconfirm | |
| parent | 304cbddf730b86dec2b3d7c414fd0b9a38c69d76 (diff) | |
Moved bbstartup into a script, renamed helper/ -> scripts/, and added
bbshutdown script. Also tweaked some of the precedence.
Diffstat (limited to 'helpers/bbconfirm')
| -rwxr-xr-x | helpers/bbconfirm | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/helpers/bbconfirm b/helpers/bbconfirm deleted file mode 100755 index cae1153..0000000 --- a/helpers/bbconfirm +++ /dev/null @@ -1,9 +0,0 @@ -#!/bin/sh -# Ask for user confirmation -set -e -if command -v ask >/dev/null; then - ask -n "$(printf "$1Is that okay?\033[?25h")" -else - reply="$(bbask -1 "$(printf "$1\033[0;1mIs that okay? [y/N] ")")" - [ "$reply" != 'y' ] -fi |
