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.17 2007-09-01 19:13:18 niro Exp $ |
3 |
|
|
4 |
source /etc/sysconfig/rc |
source /etc/sysconfig/rc |
5 |
source $rc_functions |
source $rc_functions |
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 |