Changeset 351 for freebsd-mgnt
- Timestamp:
- Dec 19, 2011, 5:13:17 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
freebsd-mgnt/system-update.sh
r350 r351 22 22 QUESTION=$1 23 23 DEFAULT=$2 24 echo -n "$QUESTION? [$DEFAULT]: "; read INPUT 24 if [ -n "$BATCH" ]; then 25 INPUT="yes" 26 echo "$QUESTION? [$DEFAULT]: $INPUT (BATCH MODE)" 27 else 28 echo -n "$QUESTION? [$DEFAULT]: "; read INPUT 29 fi 30 25 31 INPUT=${INPUT:-"${DEFAULT}"} 26 32 checkyesno INPUT || return 1 && return 0
Note:
See TracChangeset
for help on using the changeset viewer.