* Fixed problem when BASEDIR paths were given without a trailing '/'.
[linux_from_scratch.git] / bootscripts / blfs / sysconfig / network-devices / services / pppoe
blob5dc8f4527223d5272faeca349ca2e6aecbf4e367
1 #!/bin/sh
2 # Begin $network_devices/services/pppoe
4 # Based upon lfs-bootscripts-1.12 $network_devices/if{down,up}
5 # Rewritten by Nathan Coulson <nathan@linuxfromscratch.org>
6 # Adapted for pppoe by DJ Lucas <dj@lucasit.com>
8 . /etc/sysconfig/rc
9 . $rc_functions
10 . $network_devices/ifconfig.$1
12 case "$2" in
13 up)
14 echo "Bringing up the ADSL interface..."
15 /usr/sbin/adsl-start
16 evaluate_retval
19 down)
20 echo "Bringing down the ADSL interface..."
21 /usr/sbin/adsl-stop
22 evaluate_retval
26 echo "Usage: $0 {up|down}"
27 exit 1
29 esac
31 # End $network_devices/services/pppoe