diff options
Diffstat (limited to 'examples/var_service/dhcpd_if')
-rwxr-xr-x | examples/var_service/dhcpd_if/run | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/var_service/dhcpd_if/run b/examples/var_service/dhcpd_if/run index e3d1b00..82ac08a 100755 --- a/examples/var_service/dhcpd_if/run +++ b/examples/var_service/dhcpd_if/run @@ -8,7 +8,7 @@ pwd="$PWD" if="${PWD##*/dhcpd_}" echo "* Upping iface $if" -ip link set dev $if up || { sleep 5; exit; } +ip link set dev $if up || exec sleep 5 >>udhcpd.leases sed 's/^interface.*$/interface '"$if/" -i udhcpd.conf |