I want to dial in and cvsup every night.

# check if ppp interface is up
rc=2
netstat -rn | grep -q tun
retval=$?

# if not, dial in
if [ $retval -eq 0 ]; then
echo Connecting...
ppp -ddial nerc
sleep 60
fi


echo Updating ports collection
/usr/local/bin/cvsup -g -L0 /home/jcm/.admin/ports-supfile

--------
I wake up to see cvsup waiting for a connection...

NOTE: Please CC me, as I am not currently subscribed.  Thanks.

jm
-- 
My other computer is your windows box.
_______________________________________________
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Reply via email to