May
29
route.sh script to return normal routing on cPanel servers if server is fail to obtain network after reboot
@reboot /bin/sh /root/scripts/route.sh
#!/bin/bash
#deal with missing route after reboot, not the best way but can be used until i will find the root of the issue:
/usr/bin/sleep 300
/usr/sbin/ip route add 192.168.99.1 dev eno1
/usr/sbin/route add default gw 192.168.99.1 eno1