Devin Teske
11c5cac53f
Fix typo and update copyright.
2013-02-25 19:14:06 +00:00
Devin Teske
db7b0ba78f
Don't use f_show_msg() unless printf(1) syntax is required (this reduces the
...
number of unnecessary forks).
2013-01-14 21:03:34 +00:00
Devin Teske
27ff90aa87
Add new f_yesno/f_noyes wrapper functions (which take printf(1) syntax).
2013-01-14 01:15:25 +00:00
Devin Teske
d1bb7cca77
Comments and fit to 80-columns.
2012-12-27 07:52:50 +00:00
Devin Teske
56961fd794
Add more debugging to help with diagnosis of program-flow when needed.
2012-12-25 10:47:45 +00:00
Devin Teske
12f110aa1a
Remove unnecessary duplicate initialization of the dialog(1) API (automatically
...
bootstrapped on-include unless DIALOG_SELF_INITIALIZE is set to NO before-hand)
2012-12-25 09:30:25 +00:00
Devin Teske
526e1dc1c0
Improve the debugging abilities and clean up debug messages. In most cases,
...
all one has to do is set the environment variable DEBUGGING to get the debug
messages to appear on the console.
2012-12-21 19:26:17 +00:00
Devin Teske
298cf604cc
Add much-needed dialog(1) --inputbox function for simplifying the process of
...
requesting input from the user.
2012-12-21 18:58:19 +00:00
Devin Teske
6e908c6abc
Whitespace.
...
Approved by: adrian (co-mentor) (implicit)
2012-11-24 07:02:31 +00:00
Devin Teske
48c5129f93
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)
2012-11-16 00:59:11 +00:00
Devin Teske
8d8d314d78
Replace "( : ${var?} )" syntax with better "[ ${var+set} ]" syntax.
...
Reviewed by: jilles, adrian (co-mentor)
Approved by: jilles, adrian (co-mentor)
2012-09-22 04:04:02 +00:00
Devin Teske
2d49f165a9
Spelling and whitespace corrections.
...
Reviewed by: adrian (co-mentor)
Approved by: adrian (co-mentor)
2012-09-22 03:11:35 +00:00
Devin Teske
fb7d723e6b
Reverse SVN r240770 -- jilles@ made a suggestion that allowed us to redesign
...
our embedded rescue environment to support /dev/null making r240770 obsolete.
Reviewed by: jilles, adrian (co-mentor)
Approved by: jilles, adrian (co-mentor)
2012-09-21 19:03:25 +00:00
Devin Teske
104a7f3e1d
Replace redirections to /dev/null with "close file-descriptor" syntax (>&-).
...
Reviewed by: adrian (co-mentor)
Approved by: adrian (co-mentor)
2012-09-21 01:36:20 +00:00
Devin Teske
89498fdf41
Change all invocations of dialog(1) to no-longer require temporary files.
...
This allows bsdconfig to -- like bsdinstall -- operate from read-only media.
Reviewed by: adrian (co-mentor)
Approved by: adrian (co-mentor)
2012-09-20 23:44:13 +00:00
Devin Teske
ab2043b81e
Move major includes into /usr/share/bsdconfig for easy external access.
...
Reviewed by: adrian (co-mentor)
Approved by: adrian (co-mentor)
2012-09-18 22:28:42 +00:00
Devin Teske
641a6cfb86
Import bsdconfig(8) as a replacement for the post-install abilities of
...
deprecated sysinstall(8). NOTE: WITH_BSDCONFIG is currently required.
Submitted by: Devin Teske (dteske), Ron McDowell <rcm@fuzzwad.org>
Reviewed by: Ron McDowell <rcm@fuzzwad.org>
Approved by: Ed Maste (emaste)
2012-07-14 03:16:57 +00:00