#!/bin/bash
# Begin $network_devices/services/pppoe

# Based upon lfs-bootscripts-1.12 $network_devices/if{down,up}
# Rewritten by Nathan Coulson <nathan@linuxfromscratch.org>
# Adapted for pppoe by DJ Lucas <dj@lucasit.com>

#$LastChangedBy: igor $
#$Date: 2005-09-10 08:37:55 -0500 (Sat, 10 Sep 2005) $

. /etc/sysconfig/rc
. $rc_functions

case "$2" in
        up)
                boot_mesg "Bringing up the PPPoE interface..."
                /usr/sbin/pppoe-start
                evaluate_retval
        ;;

        down)
                boot_mesg "Bringing down the PPPoE interface..."
                /usr/sbin/pppoe-stop
                evaluate_retval
        ;;

        *)
                echo "Usage: $0 {up|down}"
                exit 1
        ;;
esac

# End $network_devices/services/pppoe
