📅  最后修改于: 2022-03-11 14:49:42.084000             🧑  作者: Mango
start on started network-manager
stop on runlevel [016]
script
while true; do
if ifconfig eth0 | grep -q "inet addr:"; then
# echo "all ok!"
else
restart network-manager
fi
sleep 5
done
end script