diff options
-rwxr-xr-x | examples/var_service/ifplugd_if/run | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/examples/var_service/ifplugd_if/run b/examples/var_service/ifplugd_if/run index 5d1d4e355..5c662f298 100755 --- a/examples/var_service/ifplugd_if/run +++ b/examples/var_service/ifplugd_if/run | |||
@@ -16,7 +16,7 @@ exec \ | |||
16 | env - PATH="$PATH" \ | 16 | env - PATH="$PATH" \ |
17 | softlimit \ | 17 | softlimit \ |
18 | setuidgid root \ | 18 | setuidgid root \ |
19 | ifplugd -aqlns -t3 -u8 -d8 -i "$if" -r "$pwd/ifplugd_handler" | 19 | ifplugd -aqlMns -t3 -u8 -d8 -i "$if" -r "$pwd/ifplugd_handler" |
20 | 20 | ||
21 | # We use -t3 to wake ifplugd up less often. | 21 | # We use -t3 to wake ifplugd up less often. |
22 | # If after three tests (3*3=9 > 8) link state seen to be different, | 22 | # If after three tests (3*3=9 > 8) link state seen to be different, |
@@ -29,6 +29,7 @@ ifplugd -aqlns -t3 -u8 -d8 -i "$if" -r "$pwd/ifplugd_handler" | |||
29 | # from pointlessly trying to get a lease. | 29 | # from pointlessly trying to get a lease. |
30 | # -q means that stopping monitoring does not stop dhcp/zcip/etc: | 30 | # -q means that stopping monitoring does not stop dhcp/zcip/etc: |
31 | # presumably, admin decided to control them manually. | 31 | # presumably, admin decided to control them manually. |
32 | # -M prevents frequent respawning if device does not exist (yet?) | ||
32 | 33 | ||
33 | #-a Don't up interface automatically | 34 | #-a Don't up interface automatically |
34 | #-p Don't run "up" script on startup | 35 | #-p Don't run "up" script on startup |