Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Expand get_hostname() function to support IPv4 and IPv6. | David Cantrell | 2009-03-19 | 1 | -7/+29 |
| | | | | | Make sure that get_hostname() if the user specifies either address family. | ||||
* | Remove unnecessary tab. | David Cantrell | 2009-03-19 | 1 | -1/+1 |
| | |||||
* | Correct address family option handling in ipcalc. | David Cantrell | 2009-03-19 | 1 | -42/+41 |
| | | | | | Make sure the default is IPv4. If the check option is specified, make sure we just validate the address and return 1 or 0. | ||||
* | Compile ipcalc with _GNU_SOURCE defined (for asprintf). | David Cantrell | 2009-03-19 | 1 | -1/+1 |
| | |||||
* | Man page updates for ipcalc(1) | David Cantrell | 2009-03-19 | 2 | -7/+23 |
| | | | | | Make sure the ipcalc man page explains the -c, -4, and -6 options. Update some other things. Shamelessly add my name. | ||||
* | Add a address check capability for IPv4 and IPv6 addresses. | David Cantrell | 2009-03-19 | 1 | -0/+42 |
| | | | | | | | | | | | | | Add the -c, --check argument which enables address validation. The ipcalc program will exit with 0 if the address is valid or 1 if it is invalid, for the specified family. Add the -4, --ipv4 argument to specify the IPv4 address family. Add the -6, --ipv6 argument to specify the IPv6 address family. Ensure that the IPv6 family argument is invalid with the IPv4-only show arguments (broadcast, network, netmask, prefix). | ||||
* | Use asprintf() rather than malloc() and sprintf(). | David Cantrell | 2009-03-19 | 1 | -3/+6 |
| | | | | | Use asprintf() for conversion and abort on memory allocation failures. | ||||
* | Use inet_ntop() and inet_pton() | David Cantrell | 2009-03-19 | 1 | -5/+27 |
| | | | | | The inet_ntoa() and inet_aton() functions are deprecated and limited to AF_INET only. | ||||
* | Use 'struct in_addr' for IPv4 addresses. | David Cantrell | 2009-03-19 | 1 | -44/+54 |
| | | | | | Change from using uint32_t to struct in_addr for IPv4 addresses. Get rid of the IPBITS and IPBYTES macros. | ||||
* | Whitespace cleanups for src/ipcalc.c | David Cantrell | 2009-03-19 | 1 | -135/+130 |
| | | | | Consistently use 4 spaces for indentation throughout ipcalc.c | ||||
* | Add an option for consoletype to always return 0. | Bill Nottingham | 2009-03-17 | 2 | -3/+8 |
| | | | | | This allows tcsh -e to work, with lang.sh. It's a hack, but there really isn't a better way to solve it. | ||||
* | loadkeys has a -q option for silent running. Use it. | Bill Nottingham | 2009-02-26 | 1 | -6/+6 |
| | |||||
* | Don't re-init an existing device, it causes errors. (#484411, ↵ | Bill Nottingham | 2009-02-06 | 1 | -1/+1 |
| | | | | <jpayne@redhat.com>) | ||||
* | Make rename_device much faster in the presence of many devices (#480687, ↵ | Bill Nottingham | 2009-01-19 | 1 | -73/+19 |
| | | | | <danms@us.ibm.com>) | ||||
* | Fix setting of console font/map (#458362, <ak@sensi.org>) | Bill Nottingham | 2008-10-06 | 1 | -6/+11 |
| | | | | Don't explicitly pass -u none or -m none; just pass them if one is set. | ||||
* | No need to wait here. <arjan@infradead.org> | Bill Nottingham | 2008-07-10 | 1 | -2/+0 |
| | | | | Untracked files: | ||||
* | Remove old dead stuff. | Bill Nottingham | 2008-06-20 | 8 | -1448/+0 |
| | |||||
* | Support SYSFONTACM correctly, and support UNIMAP (#448704, ↵ | Bill Nottingham | 2008-06-19 | 1 | -4/+10 |
| | | | | <vvv+fedora@colocall.net>) | ||||
* | Add a 'securetty' command that frobs /etc/securetty. Call it from the serial ↵ | Bill Nottingham | 2008-04-03 | 2 | -1/+99 |
| | | | | event. (#437381) | ||||
* | ispeed/ospeed don't exist on all platforms. Use accessor functions. | Bill Nottingham | 2008-03-25 | 1 | -1/+1 |
| | |||||
* | handle non-16550 serial ports, somewhat (<dwmw2@infradead.org>) | Bill Nottingham | 2008-03-19 | 1 | -1/+24 |
| | |||||
* | always open with NONBLOCK, clear the serial structs first ↵ | Bill Nottingham | 2008-03-19 | 1 | -1/+4 |
| | | | | (<dwmw2@infradead.org>) | ||||
* | Improve performance of s390 ccw rules (#437110, <mernst@de.ibm.com>) | Bill Nottingham | 2008-03-13 | 1 | -6/+7 |
| | |||||
* | Add a helper that checks for serial and serial-like consoles | Bill Nottingham | 2008-03-10 | 2 | -1/+156 |
| | | | | | This works by doing checks from udev that emit upstart events. upstart listens to these events and starts a getty if needed. | ||||
* | Add console_init udev helper. | Bill Nottingham | 2008-02-26 | 2 | -1/+169 |
| | | | | | | | | | | | | This helper: - sets the keyboard mode - sets the console mode - sets the console font - sets the keyboard map based on configuration in /etc/sysconfig/keyboard and /etc/sysconfig/i18n. This allows us to remove various cruft from rc.sysinit and /etc/profile.d/lang.sh. | ||||
* | add patch from rhel5 (#351291) | Bill Nottingham | 2008-01-09 | 1 | -2/+15 |
| | |||||
* | just suggest an interface name, don't do actual renaming | Bill Nottingham | 2007-10-05 | 1 | -86/+3 |
| | |||||
* | fix it for 64-bit systems (#306811) | Bill Nottingham | 2007-09-26 | 1 | -1/+1 |
| | |||||
* | fix open() call | Bill Nottingham | 2007-08-30 | 1 | -1/+1 |
| | |||||
* | require popt in /lib*, link it dynamically | Bill Nottingham | 2007-08-29 | 1 | -5/+5 |
| | |||||
* | more verbose error codes | Harald Hoyer | 2007-08-08 | 1 | -13/+90 |
| | |||||
* | license cleanup | Bill Nottingham | 2007-08-03 | 12 | -43/+113 |
| | |||||
* | drop user gid (#229372) | Bill Nottingham | 2007-04-19 | 1 | -0/+2 |
| | |||||
* | fix man page formatting (<esr@thyrsus.com>) | Bill Nottingham | 2007-02-07 | 1 | -1/+1 |
| | |||||
* | reset alarm on connection so that ppp-watch remains running when | Bill Nottingham | 2007-01-17 | 1 | -0/+1 |
| | | | | ONBOOT=yes (#216749) | ||||
* | add a step to rename any temporarily renamed devices (#208740, | Bill Nottingham | 2006-11-28 | 1 | -2/+29 |
| | | | | #204803, #214817) | ||||
* | I can't count | Bill Nottingham | 2006-11-01 | 1 | -1/+1 |
| | |||||
* | more subchannels fixing (#204803) | Bill Nottingham | 2006-10-30 | 1 | -13/+48 |
| | |||||
* | use SUBCHANNELS as the primary key for s390 network devices (#204803) | Bill Nottingham | 2006-10-26 | 1 | -0/+21 |
| | |||||
* | move ccwgroup initialization to a udev rule (#199139, #199655, #169161) | Bill Nottingham | 2006-09-27 | 2 | -0/+43 |
| | |||||
* | reset DEVPATH when renaming (#206884, <phil@fifi.org>) | Bill Nottingham | 2006-09-18 | 1 | -0/+1 |
| | |||||
* | name it something more obvious as a temporary device | Bill Nottingham | 2006-09-15 | 1 | -1/+1 |
| | |||||
* | don't loop if there are multiple devices with the same hwaddr (#199242, ↵ | Bill Nottingham | 2006-07-19 | 1 | -6/+13 |
| | | | | <markmc@redhat.com>) | ||||
* | fix manpage ref (#198756) | Bill Nottingham | 2006-07-13 | 1 | -1/+1 |
| | |||||
* | ignore alias devices (#186355) | Bill Nottingham | 2006-07-01 | 1 | -2/+9 |
| | | | | | refresh the device name on collision, as it may have initialized since we initially scanned for devices | ||||
* | duh. | Bill Nottingham | 2006-05-23 | 1 | -2/+2 |
| | |||||
* | link glib2 dynamically again now that it's in /lib | Bill Nottingham | 2006-05-23 | 1 | -2/+2 |
| | |||||
* | Fix typo. | Miloslav Trmac | 2006-05-17 | 1 | -1/+1 |
| | |||||
* | Fix handling of mount points with white space (#186713): | Miloslav Trmac | 2006-05-08 | 3 | -1/+134 |
| | | | | | | | | | | | | | - src/fstab-decode.c, src/fstab-decode.8: New files. - src/Makefile: Build and install fstab-decode. - initscripts.spec: Add fstab-decode to %files - rc.d/init.d/functions (fstab_decode_str): New function. (__umount_loop, __umount_loopback_loop): Factor out from copy&pasted copies. (action): Fix command quoting. - rc.d/rc.sysinit: Correctly quote and decode mount points. - rc.d/init.d/halt: Use __umount_* and fstab-decode. (action): Rename from runcmd. Fix command quoting. - rc.d/init.d/netfs: Use __umount_*. | ||||
* | Update .cvsignore | Miloslav Trmac | 2006-04-18 | 1 | -0/+1 |
| |