nsbin/cron/check_pppd

11 lines
190 B
Text
Raw Normal View History

#!/bin/sh
PID=""
PROG="pppd call dsl-provider"
PID=`ps ax | grep "$PROG" | grep -v grep | awk '{ print $1 }'`
if [ -z "$PID" ]; then
echo "Starte Internet neu"
pppd call dsl-provider
fi