My thoughts on "bsdconfig"
rcm at fuzzwad.org
Sun Jan 15 23:31:23 UTC 2012
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
-rw-r--r-- 0 root wheel 1553 Jan 14 11:56
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
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?
San Antonio TX
More information about the freebsd-current