pxeboot chain
This commit is contained in:
parent
5ee0a9c5cf
commit
acace867a8
6 changed files with 105 additions and 21 deletions
|
|
@ -71,7 +71,7 @@
|
|||
failures=$((1+$(cat /run/network.failures)))
|
||||
fi
|
||||
if [ $failures -ge $limit ]; then
|
||||
echo "<4>restarting NetworkManager"
|
||||
echo "<4>restarting network"
|
||||
systemctl restart NetworkManager.service
|
||||
[ $limit -lt 360 ] && limit=$((2*$limit))
|
||||
failures=0
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue