Lines 41-45
Link Here
|
41 |
kill -SIGHUP `cat $PIDFILE` |
41 |
kill -SIGHUP `cat $PIDFILE` |
42 |
# There probably should be a delay/wait loop here, dhcpcd doesn't die fast. |
42 |
# There probably should be a delay/wait loop here, dhcpcd doesn't die fast. |
43 |
sleep ${DHCPCD_GRACE_TIME:-0} |
43 |
sleep ${DHCPCD_GRACE_TIME:-0} |
|
|
44 |
# dhcpcd will bring down the interface when stopping. To keep etcnet logics |
45 |
# to work (running shutdown scripts for example) we should bring it up again |
46 |
$IP link set dev $NAME up |
44 |
fi |
47 |
fi |
45 |
} |
48 |
} |