1 |
#!/bin/sh |
#!/bin/sh |
2 |
# $Header: /home/cvsd/magellan-cvs/magellan-src/busybox-initscripts/rc/rc,v 1.1 2008-06-02 22:14:35 niro Exp $ |
# $Header: /home/cvsd/magellan-cvs/magellan-src/busybox-initscripts/rc/rc,v 1.2 2008-12-22 22:09:27 niro Exp $ |
3 |
|
|
4 |
source /etc/conf.d/rc |
source /etc/conf.d/rc |
5 |
source ${rc_functions} |
source ${rc_functions} |
28 |
then |
then |
29 |
echo |
echo |
30 |
echo -e "${COLGREEN}Starting ${COLBLUE}MAGELLAN (v${MAGEVER}) ${COLGREEN}Linux${COLDEFAULT}" |
echo -e "${COLGREEN}Starting ${COLBLUE}MAGELLAN (v${MAGEVER}) ${COLGREEN}Linux${COLDEFAULT}" |
31 |
echo -e "Copyright 2001-2008 Niels Rogalla; http://magellan-linux.net" |
echo -e "Copyright 2001-2010 Niels Rogalla; http://magellan-linux.net" |
32 |
echo |
echo |
33 |
|
|
34 |
# mount proc filesystem, needed for bootsplash; |
# mount proc filesystem, needed for bootsplash; |
86 |
# devpts is not supported, give a warning |
# devpts is not supported, give a warning |
87 |
echo -e ${COLRED}"No devpts filesystem found ..." |
echo -e ${COLRED}"No devpts filesystem found ..." |
88 |
echo -e ${COLYELLOW}"Your Kernel doesn't support the devpts filesystem." |
echo -e ${COLYELLOW}"Your Kernel doesn't support the devpts filesystem." |
89 |
echo -e ${COLYELLOW}"Devfs with a kernel-2.6.x needs devpts," |
echo -e ${COLYELLOW}"Devfs/Udev with a kernel-2.6.x needs devpts," |
90 |
echo -e ${COLYELLOW}"or no pty's are available." |
echo -e ${COLYELLOW}"or no pty's are available." |
91 |
echo -e ${COLYELLOW}"Please make shure that this is enabled in your kernel." |
echo -e ${COLYELLOW}"Please make sure that this is enabled in your kernel." |
92 |
echo |
echo |
93 |
echo -e ${COLYELLOW}"Press any key to continue ..." |
echo -e ${COLYELLOW}"Press any key to continue ..." |
94 |
read |
read |
131 |
evaluate_retval |
evaluate_retval |
132 |
fi |
fi |
133 |
|
|
134 |
|
# stop udev now |
135 |
|
stop_udev |
136 |
|
|
137 |
# run through all runlevel scripts |
# run through all runlevel scripts |
138 |
for i in $(ls -v ${rc_base}/rc${runlevel}.d/K* 2> /dev/null) |
for i in $(ls -v ${rc_base}/rc${runlevel}.d/K* 2> /dev/null) |
139 |
do |
do |