Home
last modified time | relevance | path

Searched refs:default_answer (Results 1 – 5 of 5) sorted by relevance

/illumos-gate/usr/src/cmd/krb5/kadmin/kdcmgr/
H A Dkdcmgr.sh57 typeset question=$1 default_answer=$2
58 if [[ -z $default_answer ]]; then
61 print "$question [$default_answer]: \c"
64 [ -z "$answer" ] && answer="$default_answer"
/illumos-gate/usr/src/cmd/krb5/kadmin/kclient/
H A Dkclient.sh305 if [[ -z $default_answer ]]; then
308 printf "$question [$default_answer]: "
311 test -z "$answer" && answer="$default_answer"
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/nwamcfg/
H A Dnwamcfg.c876 ask_yesno(boolean_t default_answer, const char *question) in ask_yesno() argument
886 default_answer ? "[y]/n" : "y/[n]") < 0) in ask_yesno()
892 return (default_answer ? 1 : 0); in ask_yesno()
/illumos-gate/usr/src/cmd/zoneadm/
H A Dzoneadm.c4886 ask_yesno(boolean_t default_answer, const char *question) in ask_yesno() argument
4894 default_answer ? "[y]/n" : "y/[n]"); in ask_yesno()
4897 return (default_answer ? 1 : 0); in ask_yesno()
/illumos-gate/usr/src/cmd/zonecfg/
H A Dzonecfg.c1608 ask_yesno(boolean_t default_answer, const char *question) in ask_yesno() argument
1618 default_answer ? "[y]/n" : "y/[n]") < 0) in ask_yesno()
1624 return (default_answer ? 1 : 0); in ask_yesno()