Last change
on this file since 7125722 was 7125722, checked in by Jim Gifford <clfs@…>, 17 years ago |
Import of Bootscripts
|
-
Property mode
set to
100644
|
File size:
803 bytes
|
Rev | Line | |
---|
[7125722] | 1 | #!/bin/sh
|
---|
| 2 | # Begin $network_devices/services/pppoe
|
---|
| 3 |
|
---|
| 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>
|
---|
| 7 |
|
---|
| 8 | #$LastChangedBy: igor $
|
---|
| 9 | #$Date: 2005-09-10 08:37:55 -0500 (Sat, 10 Sep 2005) $
|
---|
| 10 |
|
---|
| 11 | . /etc/sysconfig/rc
|
---|
| 12 | . $rc_functions
|
---|
| 13 |
|
---|
| 14 | case "$2" in
|
---|
| 15 | up)
|
---|
| 16 | boot_mesg "Bringing up the PPPoE interface..."
|
---|
| 17 | /usr/sbin/pppoe-start
|
---|
| 18 | evaluate_retval
|
---|
| 19 | ;;
|
---|
| 20 |
|
---|
| 21 | down)
|
---|
| 22 | boot_mesg "Bringing down the PPPoE interface..."
|
---|
| 23 | /usr/sbin/pppoe-stop
|
---|
| 24 | evaluate_retval
|
---|
| 25 | ;;
|
---|
| 26 |
|
---|
| 27 | *)
|
---|
| 28 | echo "Usage: $0 {up|down}"
|
---|
| 29 | exit 1
|
---|
| 30 | ;;
|
---|
| 31 | esac
|
---|
| 32 |
|
---|
| 33 | # End $network_devices/services/pppoe
|
---|
Note:
See
TracBrowser
for help on using the repository browser.