14 lines
169 B
Bash
Executable File
14 lines
169 B
Bash
Executable File
#!/usr/bin/env zsh
|
|
set -eo pipefail
|
|
|
|
_stopnow() {
|
|
test -f stopnow && echo "Stopping!" && rm stopnow && exit 0 || return 0
|
|
}
|
|
|
|
while true
|
|
do
|
|
_stopnow
|
|
menu
|
|
done
|
|
|