aboutsummaryrefslogtreecommitdiff
path: root/usr.sbin/bsdconfig/networking/hostname
diff options
context:
space:
mode:
authorDevin Teske <dteske@FreeBSD.org>2012-09-18 22:28:42 +0000
committerDevin Teske <dteske@FreeBSD.org>2012-09-18 22:28:42 +0000
commitab2043b81eaba0d7d7769b4a58b2b6d17bc464a3 (patch)
tree3ef909c692976c6a6b0854f8d722182e78ff8915 /usr.sbin/bsdconfig/networking/hostname
parentd11d0374abe4fc670f2d26dd8752974729657d07 (diff)
Move major includes into /usr/share/bsdconfig for easy external access.
Reviewed by: adrian (co-mentor) Approved by: adrian (co-mentor)
Notes
Notes: svn path=/head/; revision=240684
Diffstat (limited to 'usr.sbin/bsdconfig/networking/hostname')
-rwxr-xr-xusr.sbin/bsdconfig/networking/hostname12
1 files changed, 6 insertions, 6 deletions
diff --git a/usr.sbin/bsdconfig/networking/hostname b/usr.sbin/bsdconfig/networking/hostname
index aec731d202cd..32679b456d21 100755
--- a/usr.sbin/bsdconfig/networking/hostname
+++ b/usr.sbin/bsdconfig/networking/hostname
@@ -28,13 +28,13 @@
#
############################################################ INCLUDES
-BSDCFG_LIBE="/usr/libexec/bsdconfig"
-. $BSDCFG_LIBE/include/common.subr || exit 1
-f_include $BSDCFG_LIBE/include/dialog.subr
-f_include $BSDCFG_LIBE/include/mustberoot.subr
+BSDCFG_SHARE="/usr/share/bsdconfig"
+. $BSDCFG_SHARE/common.subr || exit 1
+f_include $BSDCFG_SHARE/dialog.subr
+f_include $BSDCFG_SHARE/mustberoot.subr
+f_include $BSDCFG_SHARE/networking/hostname.subr
-APP_DIR="120.networking"
-f_include $BSDCFG_LIBE/$APP_DIR/include/hostname.subr
+BSDCFG_LIBE="/usr/libexec/bsdconfig" APP_DIR="120.networking"
f_include_lang $BSDCFG_LIBE/$APP_DIR/include/messages.subr
ipgm=$( f_index_menu_selection $BSDCFG_LIBE/$APP_DIR/INDEX "$pgm" )