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 |
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 |
|
|
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 |
|
|