diff options
author | dteske <dteske@FreeBSD.org> | 2012-12-25 10:47:45 +0000 |
---|---|---|
committer | dteske <dteske@FreeBSD.org> | 2012-12-25 10:47:45 +0000 |
commit | aa703b25c09ae59c8f17176570221deed1999284 (patch) | |
tree | 3ead8d539a160fdb4f4db46d2403cb924d485ede /usr.sbin/bsdconfig/password | |
parent | 2646f7c5d89cc315500842004bb7913403ac47c6 (diff) | |
download | FreeBSD-src-aa703b25c09ae59c8f17176570221deed1999284.zip FreeBSD-src-aa703b25c09ae59c8f17176570221deed1999284.tar.gz |
Add more debugging to help with diagnosis of program-flow when needed.
Diffstat (limited to 'usr.sbin/bsdconfig/password')
-rwxr-xr-x | usr.sbin/bsdconfig/password/password | 1 | ||||
-rw-r--r-- | usr.sbin/bsdconfig/password/share/password.subr | 5 |
2 files changed, 6 insertions, 0 deletions
diff --git a/usr.sbin/bsdconfig/password/password b/usr.sbin/bsdconfig/password/password index e87078a..6b9e57d 100755 --- a/usr.sbin/bsdconfig/password/password +++ b/usr.sbin/bsdconfig/password/password @@ -30,6 +30,7 @@ BSDCFG_SHARE="/usr/share/bsdconfig" . $BSDCFG_SHARE/common.subr || exit 1 +f_dprintf "%s: loading includes..." "$0" f_include $BSDCFG_SHARE/dialog.subr f_include $BSDCFG_SHARE/mustberoot.subr f_include $BSDCFG_SHARE/password/password.subr diff --git a/usr.sbin/bsdconfig/password/share/password.subr b/usr.sbin/bsdconfig/password/share/password.subr index a0d1c50..bf83df7 100644 --- a/usr.sbin/bsdconfig/password/share/password.subr +++ b/usr.sbin/bsdconfig/password/share/password.subr @@ -30,6 +30,7 @@ if [ ! "$_PASSWORD_PASSWORD_SUBR" ]; then _PASSWORD_PASSWORD_SUBR=1 BSDCFG_SHARE="/usr/share/bsdconfig" . $BSDCFG_SHARE/common.subr || exit 1 +f_dprintf "%s: loading includes..." password/password.subr f_include $BSDCFG_SHARE/dialog.subr BSDCFG_LIBE="/usr/libexec/bsdconfig" APP_DIR="040.password" @@ -124,4 +125,8 @@ f_dialog_input_password() return $SUCCESS } +############################################################ MAIN + +f_dprintf "%s: Successfully loaded." password/password.subr + fi # ! $_PASSWORD_PASSWORD_SUBR |