summaryrefslogtreecommitdiffstats
path: root/usr.sbin
Commit message (Collapse)AuthorAgeFilesLines
...
* 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.
* Whitespace improvements.dteske2013-06-186-95/+91
|
* Fix bindings of keys when in the partition editor. By adding the usual input ↵bapt2013-06-171-1/+17
| | | | | | | | binding to the "partlist" sub window. This is a workaround, as for unknown yet reason the keys binded on the Partition Edition window are the one from partlist instead of the one from standard "formfield" Reported by: alfred, nwhitehorn
* Style/comments.dteske2013-06-151-2/+5
|
* Add skeleton processing of selected packages in the order in which theydteske2013-06-141-7/+42
| | | | | | should be processed. De-select each package as we "process" (actual processing still pending) each package so that if we get an error, we can return to an accurate state of selected packages.
* Make the default choice for FTP media access use "auto".dteske2013-06-112-2/+2
|
* Fix a bug introduced by r251236; product of bug was the following error indteske2013-06-092-10/+10
| | | | | | | | | | | | | | "Startup"->"View/Edit Startup Configuration"->"Add New"->"Add From List": [: -eq: unexpected operator NOTE: Previously mentioned in r251557 Problem caused by removal of $retval to capture exit status of call to f_dialog_input_rclist(). While we're here, enhance f_dialog_input_rclist() to accept a default-item to make selecting multiple values to-add more efficient.
* Fix a bad calloc(3) callbapt2013-06-081-1/+1
| | | | MFC after: 2 weeks
* Fix a bug introduced with r251190, in which a small hunk was forgotten indteske2013-06-081-1/+2
| | | | | | | | | | | | | | | | | | | | | the performance conversion process. The effect of this was the following error when selecting the menu "Startup"->"View/Edit Startup Configuration"->"Add New"->"Add From List": [: -eq: unexpected operator By running `bsdconfig -d' as root to enable debugging, this turns into: DEBUG: f_getvar: var=[text] value=[ Error: Expected a number for token 4 of --menu. Use --help to list options.] r=0 [: -eq: unexpected operator Indicating that the fourth token for --menu which should be $height was instead a string (the first item of $menu_list) because it was using the old size-calculation method and $size was now null (needed to use instead the new size variables of $height $width and $rows).
* Fix a bug introduced with r249751, in which a small hunk was forgotten indteske2013-06-081-1/+5
| | | | | | | | | the performance conversion process. The effect of this was, when your /etc/defaults/rc.conf file changed (based on md5(1)) and re-generating the file startup_rcconf_map.cache in /var/run/bsdconfig/ you would get a screen-dump of its contents before the menu would appear.
* Fix a typo in comments.dteske2013-06-081-1/+1
|
* Don't silently ignore errors (found whiledteske2013-06-081-8/+11
| | | | testing with `chflags schg /etc/ttys).
* Prevent getting hung-up on the following prompt (found while testing withdteske2013-06-081-1/+1
| | | | | | | | `chflags schg /etc/ttys'): override rw-r--r-- root/wheel for /etc/ttys? (y/n [n]) Simply by adding `-f' flag to mv(1).
* Fix a one-character typo. The effects of which were "Console"->"Ttys" menudteske2013-06-081-1/+1
| | | | | | | | | | | | would not launch (and gave no error). This was easily diagnosed by running `bsdconfig -d' as root and seeing the following error right after selecting the "Ttys" sub-menu: DEBUG: f_getvar: var=[text] value=[ Error: Expected at least 6 tokens for --menu, have 4. Use --help to list options.] r=0 Typo was introduced by SVN r251361.
* Add a prompt to the "Add User" and "Add Group" sub-menu items (under thedteske2013-06-083-34/+64
| | | | | | | | | | "Login Management" module): Use default values for all account details? If you select "Yes" (the default is "No"), you'll jump past all the prompts and jump straight to the review screen with all-default values. Makes adding a lot of users/groups faster/easier if you don't need to customize more than one or two different values from their defaults.
* Curb another regression (this one introduced by r251545, itself trying todteske2013-06-082-6/+14
| | | | | | | | | | | | | | fix the regression introduced by r251544; which was trying to make things consistent w/respect to ESC versus YES versus NO in the password disable prompt in "Login Management". (need stronger coffee; very sorry for the churn) With this revision, the "YES", "NO", and implied ESC options all work as- expected. Choosing "YES" allows you to proceed and the password will be disabled. Choosing "NO" will bring back around to enter a password for the account. Pressing ESC will drop you out of either user or group input and back to the usermgmt screen.
* Fix a regression introduced by r251544; if user chooses "NO" when beingdteske2013-06-082-0/+2
| | | | | asked if they would like to disable password authentication for the account, loop back to prompt them for the password again.
* Check for ESC as a separate choice from "NO" when asking if the operatordteske2013-06-082-8/+8
| | | | | | | | | | | | | would like to disable password management for an account while adding either a user or group. When being prompted to answer questions while adding a group or user, two things are trow: 1. You can hit ENTER to blast through all the questions and in the end, the group or user is created with sensible defaults for all values. 2. You can press ESC during any prompt to cancel the operation as a whole. This fix is shoring up an inconsistency in the latter (#2).
* Track defaultitem in the password and account expiry menus; if the userdteske2013-06-081-2/+6
| | | | | presses ESC or chooses Cancel/No in any of the sub-menus, we want to return to the expiry menu with that item selected.
* Fix a regression in the "Login Management" module introduced by r251242 indteske2013-06-081-4/+8
| | | | | | which choosing to cancel the manual input of expiration time (in seconds since the UNIX epoch) for either account expiration or password expiration would see the original value lost.
* Reduce verbosity in the "Console"->"Saver" module (bsdconfig syscons_saver)dteske2013-06-081-1/+1
| | | | | | | by replacing the infinitive [verb] phrase "Simply blank the screen" with a simple description of what you get; "Blank screen". PR: ports/169316
* Remove extraneous characters ('<<<') from `Exit' menutag in the "Security"dteske2013-06-082-4/+4
| | | | | | | and "Startup"->"Misc" modules to make the menus appear more consistent with the numerous other modules and look a little cleaner. PR: ports/169316
* Implement foreign volume handling. Allows admins to view foreign metadatasbruno2013-06-087-24/+492
| | | | | | | | | and clear or import it for use. PR: kern/172091 Submitted by: smh@freebsd.org Reviewed by: jhb@freebsd.org MFC after: 2 weeks
* Make 'portsnap alfred' overwrite ports tree if it's not created by adelphij2013-06-071-1/+1
| | | | | | | portsnap. Discussed with: alfred Reviewed by: cperciva
* Fix r251444 so that gssd.c still builds for WITHOUT_KERBEROS.rmacklem2013-06-061-0/+1
| | | | | Reported by: bf1783@gmail.com MFC after: 2 weeks
* Document the new "-v" option for the gssd daemon.rmacklem2013-06-051-2/+14
| | | | | | This is a content change. MFC after: 2 weeks
* Add a "-v" (verbose) option to the gssd daemon, to helprmacklem2013-06-051-2/+78
| | | | | | | | | | with diagnosis of kerberized NFS mount problems. When set, messages are sent to syslog() (or fprintf(stderr,...) if "-d" is also specified) to indicate activity/results of kgssapi upcalls. Reviewed by: jhb MFC after: 2 weeks
OpenPOWER on IntegriCloud