1 |
#!/bin/bash |
#!/bin/bash |
2 |
# $Header: /home/cvsd/magellan-cvs/magellan-src/magellan-initscripts/etc/rc.d/init.d/rc,v 1.10 2006-10-31 09:10:45 niro Exp $ |
# $Header: /home/cvsd/magellan-cvs/magellan-src/magellan-initscripts/etc/rc.d/init.d/rc,v 1.12 2007-02-07 08:07:43 niro Exp $ |
3 |
|
|
4 |
source /etc/sysconfig/rc |
source /etc/sysconfig/rc |
5 |
source $rc_functions |
source $rc_functions |
83 |
then |
then |
84 |
echo |
echo |
85 |
echo -e "${COLGREEN}Starting ${COLBLUE}MAGELLAN (v${MAGEVER}) ${COLGREEN}Linux${COLDEFAULT}" |
echo -e "${COLGREEN}Starting ${COLBLUE}MAGELLAN (v${MAGEVER}) ${COLGREEN}Linux${COLDEFAULT}" |
86 |
echo -e "Copyright 2001-2006 Niels Rogalla; http://magellan-linux.net" |
echo -e "Copyright 2001-2007 Niels Rogalla; http://magellan-linux.net" |
87 |
echo |
echo |
88 |
|
|
89 |
# mount proc filesystem, needed for bootsplash; |
# mount proc filesystem, needed for bootsplash; |
156 |
# many video drivers needed exec access |
# many video drivers needed exec access |
157 |
fstype=ramfs |
fstype=ramfs |
158 |
# tmpfs was suggested by Greg Kroah-Hartman |
# tmpfs was suggested by Greg Kroah-Hartman |
159 |
[[ kernel_supports_fs tmpfs ]] && fstype=tmpfs |
kernel_supports_fs tmpfs && fstype=tmpfs |
160 |
mount -n -t ${fstype} udev /dev -o exec,nosuid,mode=0755 |
mount -n -t ${fstype} udev /dev -o exec,nosuid,mode=0755 |
161 |
evaluate_retval |
evaluate_retval |
162 |
|
|