summaryrefslogtreecommitdiffstats
path: root/usr.sbin/bsdconfig/ttys
diff options
context:
space:
mode:
authordteske <dteske@FreeBSD.org>2012-11-16 00:59:11 +0000
committerdteske <dteske@FreeBSD.org>2012-11-16 00:59:11 +0000
commit71e5cb8556b4481cf4e9fc1f12ce7bbbe32d2d8b (patch)
tree05eb7aa142fea487f7e6581810ae0c52556ba52d /usr.sbin/bsdconfig/ttys
parent33f46cf89f0cc92752f73e4347c3bf1cf4e9f320 (diff)
downloadFreeBSD-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/ttys')
-rwxr-xr-xusr.sbin/bsdconfig/ttys/ttys2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.sbin/bsdconfig/ttys/ttys b/usr.sbin/bsdconfig/ttys/ttys
index 4e67e2c..545cc1f 100755
--- a/usr.sbin/bsdconfig/ttys/ttys
+++ b/usr.sbin/bsdconfig/ttys/ttys
@@ -36,7 +36,7 @@ f_include $BSDCFG_SHARE/mustberoot.subr
BSDCFG_LIBE="/usr/libexec/bsdconfig" APP_DIR="150.ttys"
f_include_lang $BSDCFG_LIBE/$APP_DIR/include/messages.subr
-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
OpenPOWER on IntegriCloud