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.11 2006-10-31 10:50:22 niro Exp $ |
3 |
|
|
4 |
source /etc/sysconfig/rc |
source /etc/sysconfig/rc |
5 |
source $rc_functions |
source $rc_functions |
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 |
|
|