password.subr (e477abf734cc777a55286bfbd6b80a6760c96acf) password.subr (56961fd7949de755f95a60fe8ac936f81e953f5b)
1if [ ! "$_PASSWORD_PASSWORD_SUBR" ]; then _PASSWORD_PASSWORD_SUBR=1
2#
3# Copyright (c) 2012 Devin Teske
4# All rights reserved.
5#
6# Redistribution and use in source and binary forms, with or without
7# modification, are permitted provided that the following conditions
8# are met:

--- 16 unchanged lines hidden (view full) ---

25# SUCH DAMAGE.
26#
27# $FreeBSD$
28#
29############################################################ INCLUDES
30
31BSDCFG_SHARE="/usr/share/bsdconfig"
32. $BSDCFG_SHARE/common.subr || exit 1
1if [ ! "$_PASSWORD_PASSWORD_SUBR" ]; then _PASSWORD_PASSWORD_SUBR=1
2#
3# Copyright (c) 2012 Devin Teske
4# All rights reserved.
5#
6# Redistribution and use in source and binary forms, with or without
7# modification, are permitted provided that the following conditions
8# are met:

--- 16 unchanged lines hidden (view full) ---

25# SUCH DAMAGE.
26#
27# $FreeBSD$
28#
29############################################################ INCLUDES
30
31BSDCFG_SHARE="/usr/share/bsdconfig"
32. $BSDCFG_SHARE/common.subr || exit 1
33f_dprintf "%s: loading includes..." password/password.subr
33f_include $BSDCFG_SHARE/dialog.subr
34
35BSDCFG_LIBE="/usr/libexec/bsdconfig" APP_DIR="040.password"
36f_include_lang $BSDCFG_LIBE/$APP_DIR/include/messages.subr
37
38############################################################ FUNCTIONS
39
40# f_dialog_input_password

--- 78 unchanged lines hidden (view full) ---

119
120 pw_password="$_password1"
121 break
122 done
123
124 return $SUCCESS
125}
126
34f_include $BSDCFG_SHARE/dialog.subr
35
36BSDCFG_LIBE="/usr/libexec/bsdconfig" APP_DIR="040.password"
37f_include_lang $BSDCFG_LIBE/$APP_DIR/include/messages.subr
38
39############################################################ FUNCTIONS
40
41# f_dialog_input_password

--- 78 unchanged lines hidden (view full) ---

120
121 pw_password="$_password1"
122 break
123 done
124
125 return $SUCCESS
126}
127
128############################################################ MAIN
129
130f_dprintf "%s: Successfully loaded." password/password.subr
131
127fi # ! $_PASSWORD_PASSWORD_SUBR
132fi # ! $_PASSWORD_PASSWORD_SUBR