aboutsummaryrefslogtreecommitdiff
path: root/examples/var_service/dhcp_if/run
AgeCommit message (Collapse)Author
2019-04-21examples/var_service: use "exec sleep 5" instead of "{ sleep 5; exit; }"Denys Vlasenko
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
2019-04-05service examples: if iface do not exist, retry upping itDenys Vlasenko
I've had a case of a machine where eth0 was appearing a bit later after the boot, and appearing _downed_. ifplugd then fails to detect "link up". Thus, depending on how service startup ("ip link set dev eth0 up") races with driver initialization, ethernet randomly fails to initialize on boot. Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
2009-11-06adding example runit-style service directoryDenys Vlasenko
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>