aboutsummaryrefslogtreecommitdiff
path: root/networking/ifplugd.c
diff options
context:
space:
mode:
authorRon Yorston <rmy@pobox.com>2012-03-22 14:11:12 +0000
committerRon Yorston <rmy@pobox.com>2012-03-22 14:11:12 +0000
commit67758035a4fe040c6ac69b39d61bcd6bddd7b827 (patch)
treea4a1db7f54c16d12fabe2626b8f1e235cd694e9e /networking/ifplugd.c
parent811c449748d5bd0505f8510e5582892f94ac0cda (diff)
parentb83c9704128dd106071184e4b00335a3b8486857 (diff)
downloadbusybox-w32-67758035a4fe040c6ac69b39d61bcd6bddd7b827.tar.gz
busybox-w32-67758035a4fe040c6ac69b39d61bcd6bddd7b827.tar.bz2
busybox-w32-67758035a4fe040c6ac69b39d61bcd6bddd7b827.zip
Merge commit 'b83c9704128dd106071184e4b00335a3b8486857' into merge
Diffstat (limited to 'networking/ifplugd.c')
-rw-r--r--networking/ifplugd.c26
1 files changed, 26 insertions, 0 deletions
diff --git a/networking/ifplugd.c b/networking/ifplugd.c
index 8dd0a5bd8..421611aae 100644
--- a/networking/ifplugd.c
+++ b/networking/ifplugd.c
@@ -6,6 +6,32 @@
6 * 6 *
7 * Licensed under GPLv2 or later, see file LICENSE in this source tree. 7 * Licensed under GPLv2 or later, see file LICENSE in this source tree.
8 */ 8 */
9
10//usage:#define ifplugd_trivial_usage
11//usage: "[OPTIONS]"
12//usage:#define ifplugd_full_usage "\n\n"
13//usage: "Network interface plug detection daemon\n"
14//usage: "\nOptions:"
15//usage: "\n -n Don't daemonize"
16//usage: "\n -s Don't log to syslog"
17//usage: "\n -i IFACE Interface"
18//usage: "\n -f/-F Treat link detection error as link down/link up"
19//usage: "\n (otherwise exit on error)"
20//usage: "\n -a Don't up interface at each link probe"
21//usage: "\n -M Monitor creation/destruction of interface"
22//usage: "\n (otherwise it must exist)"
23//usage: "\n -r PROG Script to run"
24//usage: "\n -x ARG Extra argument for script"
25//usage: "\n -I Don't exit on nonzero exit code from script"
26//usage: "\n -p Don't run script on daemon startup"
27//usage: "\n -q Don't run script on daemon quit"
28//usage: "\n -l Run script on startup even if no cable is detected"
29//usage: "\n -t SECS Poll time in seconds"
30//usage: "\n -u SECS Delay before running script after link up"
31//usage: "\n -d SECS Delay after link down"
32//usage: "\n -m MODE API mode (mii, priv, ethtool, wlan, iff, auto)"
33//usage: "\n -k Kill running daemon"
34
9#include "libbb.h" 35#include "libbb.h"
10 36
11#include "fix_u32.h" 37#include "fix_u32.h"