Skip to content

Commit

Permalink
Change axiom for initialization. Including script can disable (default)
Browse files Browse the repository at this point in the history
automatic initialization by setting appropriate variable to particular value.
  • Loading branch information
devinteske committed Dec 21, 2012
1 parent 3523462 commit 9f0941e
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion usr.sbin/bsdconfig/share/dialog.subr
Original file line number Diff line number Diff line change
Expand Up @@ -1477,6 +1477,9 @@ f_dialog_init()

############################################################ MAIN

[ "$DIALOG_SELF_INITIALIZE" ] && f_dialog_init
case "$DIALOG_SELF_INITIALIZE" in
""|0|[Nn][Oo]|[Oo][Ff][Ff]|[Ff][Aa][Ll][Ss][Ee]) : do nothing ;;
*) f_dialog_init
esac

fi # ! $_DIALOG_SUBR

0 comments on commit 9f0941e

Please sign in to comment.