Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 17 Jan 2012 13:13:47 -0600
From:      Ron McDowell <rcm@fuzzwad.org>
To:        freebsd-sysinstall@freebsd.org
Subject:   My thoughts on "bsdconfig"
Message-ID:  <4F15C86B.5020802@fuzzwad.org>
In-Reply-To: <4F1361C9.4080403@fuzzwad.org>
References:  <4F1361C9.4080403@fuzzwad.org>

next in thread | previous in thread | raw e-mail | index | archive | help
Sent to the wrong list the other day... :-/

-------- Original Message --------
Subject: 	My thoughts on "bsdconfig"
Date: 	Sun, 15 Jan 2012 17:31:21 -0600
From: 	Ron McDowell <rcm@fuzzwad.org>
To: 	freebsd-current <freebsd-current@freebsd.org>



I've had some time to poke around dialog, bsdinstall, host-config by
Devin Teske, even old sysinstall.  Part of that poking involved a simple
proof-of-concept that can be found at http://fuzzwad.org/bsdconfig/ :

# tar tzvf /tmp/bsdconfig.120115.tgz
-rwxr-xr-x  0 root   wheel    5631 Jan 14 12:53 usr/sbin/bsdconfig
drwxr-xr-x  0 root   wheel       0 Jan 12 12:53
usr/share/examples/bsdconfig/
-rw-r--r--  0 root   wheel    1553 Jan 14 11:56
usr/share/examples/bsdconfig/bsdconfigrc
drwxr-xr-x  0 root   wheel       0 Jan 14 12:08 usr/libexec/bsdconfig/
-rwxr-xr-x  0 root   wheel    1674 Jan 14 12:17
usr/libexec/bsdconfig/notimplemented

then several items in the bsdconfig menu [install docs, user add, root
passwd, timezone] execute the code from bsdinstall.  This menu was taken
directly from sysinstall and will change somewhat.

I'm leaning towards using this above as a base, and then merging
sections from host-config [with Devin's permission, of course] where it
makes sense, as well as using existing bsdinstall sections where it
makes sense, and adding my own as-yet-unwritten code for the rest.

Also...what are everyone's thoughts on making this program i18n-ready
right from the start?  Lot of work? Not worth the effort?  Must have?
Don't need?

Thanks.


-- 
Ron McDowell
San Antonio TX






Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4F15C86B.5020802>