diff options
author | dteske <dteske@FreeBSD.org> | 2012-11-16 00:59:11 +0000 |
---|---|---|
committer | dteske <dteske@FreeBSD.org> | 2012-11-16 00:59:11 +0000 |
commit | 71e5cb8556b4481cf4e9fc1f12ce7bbbe32d2d8b (patch) | |
tree | 05eb7aa142fea487f7e6581810ae0c52556ba52d /usr.sbin/bsdconfig/password | |
parent | 33f46cf89f0cc92752f73e4347c3bf1cf4e9f320 (diff) | |
download | FreeBSD-src-71e5cb8556b4481cf4e9fc1f12ce7bbbe32d2d8b.zip FreeBSD-src-71e5cb8556b4481cf4e9fc1f12ce7bbbe32d2d8b.tar.gz |
Replicate a feature from sysinstall documented in
stable/9/usr.sbin/sysinstall/help/shortcuts.hlp (reproduced below):
If /usr/sbin/sysinstall is linked to another filename, say
`/usr/local/bin/configPackages', then the basename will be used
as an implicit command name.
To get a list of modules you can link to, see `bsdconfig -h' output.
Approved by: adrian (co-mentor) (implicit)
Diffstat (limited to 'usr.sbin/bsdconfig/password')
-rwxr-xr-x | usr.sbin/bsdconfig/password/password | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.sbin/bsdconfig/password/password b/usr.sbin/bsdconfig/password/password index 7a439e6..c060b50 100755 --- a/usr.sbin/bsdconfig/password/password +++ b/usr.sbin/bsdconfig/password/password @@ -36,7 +36,7 @@ f_include $BSDCFG_SHARE/password/password.subr BSDCFG_LIBE="/usr/libexec/bsdconfig" APP_DIR="040.password" -ipgm=$( f_index_menu_selection $BSDCFG_LIBE/$APP_DIR/INDEX "$pgm" ) +ipgm=$( f_index_menusel_keyword $BSDCFG_LIBE/$APP_DIR/INDEX "$pgm" ) [ $? -eq $SUCCESS -a "$ipgm" ] && pgm="$ipgm" ############################################################ CONFIGURATION |