IDependOn-Set: 1 IDependOn-Set: 3 IDependOn-Set: 66 IDependOn-Set: 67 IDependOn-Set: 83 IDependOn-Set: 84 LastModifiedSecs: 963381532 Parent: 66 SequenceNumber: 3 Title: pppcheck Part: 0 Author-Set: sauer@cloudmaster.com LastModifiedSecs: 963381532 Type: monospaced Lines: 12 #!/bin/bash # pppcheck.sh - Danny Sauer (last updated Mar 6, 1999) # check to see if the ppp0 device is active and pppd is running # re-establish connection if not # intended to be called from cron every couple of minutes # if ! ((/sbin/ifconfig | grep "ppp0" 1> /dev/null 2>&1 ) || (/bin/ps ax|grep "pppd"| grep -v "grep" 1> /dev/null 2>&1) ) then /etc/suseppp/scripts/ppp-up generic fi EndPart: 0