Source

netplug / main.c

Author Commit Message Labels Comments Date
Bryan O'Sullivan
Merge
Bryan O'Sullivan
Update copyright.
jsgf
Fix a couple of botches
jsgf
Maybe fix Bos's insanity spin
Bryan O'Sullivan
Log assert failures properly.
jsgf
merge
jsgf
Various cleanups
Bryan O'Sullivan
Add version information.
Bryan O'Sullivan
Turned state machine diagram into a .dot file for readability. Added Jeremy's copyright to source files he modified heavily. Bumped version number.
Tags
v1.1
Bryan O'Sullivan
Merge
Tags
v1.0.1
Bryan O'Sullivan
Bump version.
jsgf
Further updates to deal with initial state of each controlled interface.
jsgf
Add an explicit state machine for each interface to track the flag state changes and the various scripts. This should make the behaviour much more controllable. Still to do: also poll the interface flag state so that we can detect the interface state at startup, rather than purely relying on netlink state change events.
jsgf
show interface flag names symbolically
jsgf
manual merge
Bryan O'Sullivan
Match interface name before we try to do anything else fancy.
jsgf
stomp various bugs
Bryan O'Sullivan
Some bugfixes.
Bryan O'Sullivan
Add GPLv2 license header. Turn tabs into spaces.
Bryan O'Sullivan
A bit more useful output.
Bryan O'Sullivan
Optionally write pid to file.
Bryan O'Sullivan
Move do_log out of main.c.
Bryan O'Sullivan
Don't open netlink socket until after we become a daemon. daemon() helpfully closes the netlink fd, but doesn't document this behaviour. Suck.
Bryan O'Sullivan
Convert to new logging API.
Bryan O'Sullivan
Get rid of calls to /sbin/hotplug and /sbin/ip, and replace them with calls to a script we provide.
Bryan O'Sullivan
Clarify flag checking. Add early install code.
Bryan O'Sullivan
Run hotplug on cable insertion, and bring interface back up on removal. Capitalise warnings.
Bryan O'Sullivan
Ignore duplicate messages.
Bryan O'Sullivan
Autoprobe for interfaces. This is nceessary for interfaces that may have been compiled as kernel modules and not yet loaded.
Bryan O'Sullivan
Better usage support. Read multiple config files.
  1. Prev
  2. 1
  3. 2
  4. Next