Magellan Linux

Diff of /trunk/rp-pppoe/pppoe.rc

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 79 by niro, Tue Oct 10 13:09:18 2006 UTC revision 80 by niro, Wed Oct 11 14:17:22 2006 UTC
# Line 1  Line 1 
1  #!/bin/sh  #!/bin/sh
2  # $Header: /root/magellan-cvs/src/rp-pppoe/pppoe.rc,v 1.1 2006-10-10 13:09:18 niro Exp $  # $Header: /root/magellan-cvs/src/rp-pppoe/pppoe.rc,v 1.2 2006-10-11 14:17:22 niro Exp $
3    
4  #%rlevels: 0:k 1:k 2:k 3:s 4:s 5:s 6:k  #%rlevels: 0:k 1:k 2:k 3:s 4:s 5:s 6:k
5  #%start: 21  #%start: 21
# Line 15  source $rc_functions Line 15  source $rc_functions
15    
16  case "$1" in  case "$1" in
17   start)   start)
18   echo -e ${COLOREDSTAR}"Bringing up pppoe-interface ..."   echo -en ${COLOREDSTAR}"Bringing up pppoe-interface "
19   /usr/sbin/pppoe-start   /usr/sbin/pppoe-start
20   evaluate_retval   evaluate_retval
21    
# Line 24  case "$1" in Line 24  case "$1" in
24   ;;   ;;
25    
26   stop)   stop)
27   echo -e ${COLOREDSTAR}"Bringing up pppoe-interface ..."   echo -e ${COLOREDSTAR}"Bringing down pppoe-interface ..."
28   /usr/sbin/pppoe-stop   /usr/sbin/pppoe-stop
29   evaluate_retval   evaluate_retval
30    

Legend:
Removed from v.79  
changed lines
  Added in v.80