From 002bdc3e2af27279323d900e5a74607d42724c62 Mon Sep 17 00:00:00 2001 From: Denys Vlasenko Date: Mon, 9 Nov 2009 11:04:54 +0100 Subject: tweak service examples a bit (less verbose comment in dhcp_if) Signed-off-by: Denys Vlasenko --- examples/var_service/ifplugd_if/run | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) (limited to 'examples/var_service/ifplugd_if') diff --git a/examples/var_service/ifplugd_if/run b/examples/var_service/ifplugd_if/run index 360b75a3f..2781cf9f9 100755 --- a/examples/var_service/ifplugd_if/run +++ b/examples/var_service/ifplugd_if/run @@ -1,5 +1,6 @@ #!/bin/sh +#exec >/dev/null exec 2>&1 exec 8) link state seen to be different, +# the handler will be called. +# IOW: short link losses will be ignored, longer ones +# will trigger DHCP reconfiguration and such (see handler code). #-a Do not up interface automatically #-p Dont run script on daemon startup -- cgit v1.2.3