#!/bin/sh -efu

ppppid=`cat /var/run/ppp0.pid`
( sleep 5; kill -HUP $ppppid; echo "ppp0: restarted on/at `date`" >> /var/log/ppp-restarts.log ) &