diff options
Diffstat (limited to 'networking/ifplugd.c')
-rw-r--r-- | networking/ifplugd.c | 26 |
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" |