summaryrefslogtreecommitdiffstats
path: root/usr.sbin
Commit message (Collapse)AuthorAgeFilesLines
* Merge r248313 from stable/9 sysinstall(8) to head bsdconfig(8):dteske2013-06-239-22/+678
| | | | | | | | | | | | Add support for installation directly via HTTP. While we're here, remove the menu-item for Passive FTP (since moving to ftp(1) and switching FTPMODE to `auto' by default -- see r251613 -- the single remaining FTP menu-item works for both ftp.f.o and ftp-archive.f.o; previously each requiring separately active versus passive both work with the `auto' setting). In scripting you still have mediaSetFTPActive and mediaSetFTPPassive but the remaining FTP menu-item uses mediaSetFTP which defaults to `auto' (aforementioned SVN r251613).
* Implement the $probe_only parameter (previously unimplemented).dteske2013-06-231-3/+8
|
* Fine-tune the parsing of the URL. Re-order, comment, and add debugging todteske2013-06-232-17/+66
| | | | each case of unique URL format.
* Fix a code typo that prevented the probing of the current defaultrouterdteske2013-06-221-1/+1
| | | | in-order to pre-populate the editor.
* Oops, previous revision (r252084) broke non-full-path resolution (e.g.,dteske2013-06-221-1/+1
| | | | | ftp://ftp.freebsd.org or ftp://ftp.freebsd.org/). Now both full-path and non-full resolution is working regardless of trailing-slash.
* Trim the trailing `/' from the ftp_dir when validating that the directorydteske2013-06-221-1/+4
| | | | | | exists on the FTP server. This now means that when you specify a full-path to the repository on the FTP server that it doesn't matter whether you have a trailing `/' or not.
* Take advantage of the fact that f_getvar evaluates the $var_to_get parameterdteske2013-06-222-6/+5
| | | | | within braces, allowing all manner of parameter expansions (properly quoted or escaped, of course).
* Fix a regression introduced by r251967, resulting in:dteske2013-06-221-1/+1
| | | | | /usr/libexec/bsdconfig/110.mouse/mouse: 134: Syntax error: ";;" unexpected (expecting "fi")
* Fix a regression introduced by r251967, resulting in:dteske2013-06-221-1/+1
| | | | | /usr/libexec/bsdconfig/080.console/console: 136: Syntax error: ";;" unexpected (expecting "fi")
* Add missing local declaration.dteske2013-06-211-1/+1
|
* Remove unused library include.dteske2013-06-211-1/+0
|
* Alphabetize library includes.dteske2013-06-2121-33/+33
|
* Style.dteske2013-06-212-18/+10
|
* Typo and grammar fixes to comments.dteske2013-06-212-2/+2
|
* Fix a code typo in a case-statement match expression that prevented IPv6dteske2013-06-201-1/+1
| | | | URLs with port designator from working properly (e.g. http://[::1]:80/).
* When the fall-back of a case-statement is the last thing executed in adteske2013-06-202-21/+19
| | | | | | | | while-loop _and_ all prior matches in the same case-statement either break or continue, we can safely break the fall-back out of the case-statement. This should improve readability and allow for longer-lines by reducing the level of indentation by-one for the fall-back case. (a continuation of SVN r252019)
* When the fall-back of a case-statement is the last thing executed in adteske2013-06-205-41/+33
| | | | | | | while-loop _and_ all prior matches in the same case-statement either break or continue, we can safely break the fall-back out of the case-statement. This should improve readability and allow for longer-lines by reducing the level of indentation by-one for the fall-back case.
* Remove pedanticism and consolidate some logic.dteske2013-06-201-7/+1
|
* Add debugging (for a case that shouldn't arise, but makes it more obviousdteske2013-06-203-0/+6
| | | | if a menu addition is made in one plce but forgotten in another).
* Style -- no ;; needed on fallback clause within case-statement.dteske2013-06-192-3/+3
|
* Whitespace.dteske2013-06-192-40/+31
|
* Whitespace and comments.dteske2013-06-196-8/+10
|
* Alphabetize reserved-word (resword) registration.dteske2013-06-191-4/+4
|
* Alphabetize includes.dteske2013-06-191-1/+1
|
* Remove extra whitespace lines.dteske2013-06-194-8/+0
|
* Change a humongous if-statement at the end of f_install_zoneinfo_file() intodteske2013-06-191-114/+110
| | | | an early return, allowing a huge chunk of code to be indented one-level less
* Take advantage of newly updated f_dialog_{yesno,noyes}() functions fromdteske2013-06-191-22/+4
| | | | SVN r251977 (adding an $hline parameter).
* When I first wrote the timezone module, it was in sysutils/tzdialog and itdteske2013-06-191-105/+31
| | | | pre-dates bsdconfig. Update the code to take advantage of f_dialog_msgbox().
* Change the f_dialog_{yesno,noyes}() function-arguments in `dialog.subr' todteske2013-06-181-6/+6
| | | | | | | | | | | accomodate an $hline value for overriding the default. This change does not effect any current modules as it turns out that not one single usage of either f_dialog_yesno() or f_dialog_noyes() relied on accepting more than a first argument (read: all occurrences quoted the first parameter; so $* was never depended upon). This will allow some custom invocations of --yesno and --noyes to roll over to these functions (for example, in `timezone/timezone').
* Perform some code consolidation and replace nested case-statements withdteske2013-06-181-67/+71
| | | | more logical if-else statements for each menu selection.
* Fix a regression introduced by r251967, resulting in:dteske2013-06-181-1/+1
| | | | | /usr/libexec/bsdconfig/140.startup/startup: 130: Syntax error: ";;" unexpected (expecting "fi")
* Whitespace.dteske2013-06-181-2/+2
|
* Perform some code consolidation and add some additional errordteske2013-06-186-49/+44
| | | | checking/reporting. (similar to SVN revisions 251919 and 251928)
* Comments.dteske2013-06-183-0/+9
|
* Comments and whitespace.dteske2013-06-182-3/+2
|
* Comments.dteske2013-06-181-0/+4
|
* Perform some code consolidation and add some additional errordteske2013-06-182-26/+21
| | | | checking/reporting. (similar to SVN revision 251919)
* Whitespace and comments.dteske2013-06-181-4/+2
|
* Perform some code consolidation and add some additional errordteske2013-06-182-11/+14
| | | | checking/reporting. (similar to SVN revisions 251905 and 251915)
* Remove unnecessary loops, perform some code consolidation, and add somedteske2013-06-183-62/+58
| | | | | additional error checking/reporting. (same thing going on here as SVN r251905 -- just this time for the mouse module instead of console)
* Whitespace.dteske2013-06-183-3/+0
|
* Use newly enhanced f_dialog_msgbox() from SVN r251912.dteske2013-06-181-10/+1
|
* Change the f_dialog_msgbox() arguments in `dialog.subr' to accomodate andteske2013-06-181-3/+4
| | | | | | | | | | $hline argument for setting the --hline parameter value. This change does not effect any current modules as it turns out that not one single usage of f_dialog_msgbox() relied on accepting more than a first argument (read: all occurrences quoted the first parameter; so $* was never depended upon). This will allow some custom invocations of --msgbox to roll over to this function (for example, in `mouse/disable').
* Comments.dteske2013-06-181-4/+10
|
* Comments.dteske2013-06-181-2/+2
|
* Fix a typo in a comment.dteske2013-06-181-1/+1
|
* Switch bsdconfig `Disk Management' from sade(8) to `bsdinstall partedit'.dteske2013-06-181-2/+2
|
* Oops, in SVN r251905 I forgot that f_die takes the return code as the firstdteske2013-06-185-5/+5
| | | | argument (not the format).
* Improve the INDEX format. Whitespace improvements, format improvements, typodteske2013-06-1813-221/+273
| | | | and grammatical fixes.
* Remove unnecessary loops, perform some code consolidation, and add somedteske2013-06-187-364/+215
| | | | additional error checking/reporting.
OpenPOWER on IntegriCloud