ff_fix_ppp 226 B

12345678910111213141516
  1. #!/bin/sh
  2. #
  3. # Check for pppd
  4. if pidof pppd >/dev/null; then
  5. # Ok processes are running
  6. exit 0
  7. fi
  8. logger -t fix_inet "Restarting internet internet connection."
  9. poff tkom >/dev/null || true
  10. sleep 1
  11. pon tkom