summaryrefslogtreecommitdiffstats
path: root/usr.sbin
Commit message (Collapse)AuthorAgeFilesLines
...
* 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
* Use calloc().delphij2013-06-051-2/+1
| | | | MFC after: 2 weeks
* Remove unneeded reference to link.h (sys/link_elf.h).delphij2013-06-055-5/+0
| | | | MFC after: 2 weeks
* Shift Console->Saver menu items to place the default item at the top, makingdteske2013-06-041-41/+41
| | | | | | | | | | | | | this menu consistent with Console->Repeat, Console->Font, Console->Screenmap and many others which place the default choice at the top. NOTE: SVN r249751 changed things so that these menus highlight the active selection, so the idea that the default choice (now at top) "can be selected immediately by hitting ENTER" is not possible unless the default choice is the currently active setting (e.g., on first visit to the menu). However, it is still warranted to have the default choice at the top of the menu. PR: bin/169316
* Lessen verbosity of "Exit" menutag items to appear more consistent acrossdteske2013-06-046-7/+6
| | | | | | | | menus from one module to the next. Replacing "Exit this menu (returning to previous)" with "Exit this menu". PR: ports/169316
* Use f_shell_escape() instead of forking to awk. In this case, thedteske2013-06-043-8/+6
| | | | | | replacement comes with a great performance increase (as f_shell_escape() uses the built-in based f_replaceall() which out-performs forking to awk(1)). This should also improve readability slightly.
* Use a case-statement instead of multiple (separate even) if-statements.dteske2013-06-041-4/+7
|
* Comments.dteske2013-06-041-1/+1
|
* Similar to r251236, r251242, and r251244. Introduce new function-pair todteske2013-06-044-38/+81
| | | | | | | | | | | | | | | | | dialog(1) API in dialog.subr responsible for retrieving menu-choice data (for the --menu widget). Add f_dialog_menuitem_store()/f_dialog_menuitem_fetch() for storing and retrieving the menuitem (not the tag) from a --menu widget result. The dialog --menu widget returns the `tag' from the tag/item pair of choices for a menu list. Because the menu list is often local to the function that is displaying it, the ability to dereference this into the item is not possible unless you use a global. This changes things so the function (upon successful return of dialog) dereferences the tag into the item and stores it for later retrieval using these functions. NOTE: Tags are dereferenced into items using f_dialog_menutag2item().
* Fix a code typo (missing `eval') which lead to improperly-sized menu whendteske2013-06-041-1/+1
| | | | | displaying packages (menu was always maximum height). The problem was introduced by SVN r251232.
* Fix menu accenting for the package category list. The single-space indentdteske2013-06-041-5/+5
| | | | | for duplicate initial-characters was removed for making comparisons but was not put back.
OpenPOWER on IntegriCloud