#!/bin/sh
# Quick way to start PPP on Red Hat 5
# Relies on /usr/sbin/ifup and /usr/sbin/ifdown to do the real work.
# If the device is marked as controllable by any user,
# ifup/ifdown take care of that.
DEVICE=ppp0

PATH=/sbin:/usr/sbin:/bin:/usr/bin

action="$1"
shift
case "$action" in
    on|start)
	ifup $DEVICE
	;;
    off|stop)
	ifdown $DEVICE
	;;
esac
exit 0














