1 |
#!/bin/bash |
#!/bin/bash |
2 |
# $Header: /root/magellan-cvs/src/ppp/ppp.rc,v 1.1 2007-08-18 18:50:53 niro Exp $ |
# $Header: /root/magellan-cvs/src/ppp/ppp.rc,v 1.2 2007-08-18 18:56:38 niro Exp $ |
3 |
|
|
4 |
#%rlevels: 3:s 4:s 5:s 0:k 1:k 2:k 6:k |
#%rlevels: 3:s 4:s 5:s 0:k 1:k 2:k 6:k |
5 |
#%start: 30 |
#%start: 30 |
18 |
case "$1" in |
case "$1" in |
19 |
start) |
start) |
20 |
echo -e ${COLOREDSTAR}"Starting PPP deamon ..." |
echo -e ${COLOREDSTAR}"Starting PPP deamon ..." |
21 |
[[ -z ${PPPD_PID} ]] && /usr/bin/pon |
[[ -z ${PPPD_PID} ]] && pon |
22 |
if [ $? -gt 0 ] |
if [ $? -gt 0 ] |
23 |
then |
then |
24 |
print_status failure |
print_status failure |