1 |
#!/bin/bash |
#!/bin/bash |
2 |
# $Header: /home/cvsd/magellan-cvs/magellan-src/magellan-initscripts/etc/rc.d/init.d/rc,v 1.16 2007-08-17 22:08:33 niro Exp $ |
# $Header: /home/cvsd/magellan-cvs/magellan-src/magellan-initscripts/etc/rc.d/init.d/rc,v 1.18 2008-01-01 13:17:00 niro Exp $ |
3 |
|
|
4 |
source /etc/sysconfig/rc |
source /etc/sysconfig/rc |
5 |
source $rc_functions |
source $rc_functions |
96 |
then |
then |
97 |
echo |
echo |
98 |
echo -e "${COLGREEN}Starting ${COLBLUE}MAGELLAN (v${MAGEVER}) ${COLGREEN}Linux${COLDEFAULT}" |
echo -e "${COLGREEN}Starting ${COLBLUE}MAGELLAN (v${MAGEVER}) ${COLGREEN}Linux${COLDEFAULT}" |
99 |
echo -e "Copyright 2001-2007 Niels Rogalla; http://magellan-linux.net" |
echo -e "Copyright 2001-2008 Niels Rogalla; http://magellan-linux.net" |
100 |
echo |
echo |
101 |
|
|
102 |
# mount proc filesystem, needed for bootsplash; |
# mount proc filesystem, needed for bootsplash; |
173 |
fstype=ramfs |
fstype=ramfs |
174 |
# tmpfs was suggested by Greg Kroah-Hartman |
# tmpfs was suggested by Greg Kroah-Hartman |
175 |
kernel_supports_fs tmpfs && fstype=tmpfs |
kernel_supports_fs tmpfs && fstype=tmpfs |
176 |
mount -n -t ${fstype} udev /dev -o exec,nosuid,mode=0755 |
mount -n -t ${fstype} udev /dev -o exec,nosuid,mode=0755,size=10M |
177 |
evaluate_retval |
evaluate_retval |
178 |
|
|
179 |
# if a device tarball exists load it and if it is activated |
# if a device tarball exists load it and if it is activated |