1 |
#!/bin/bash |
#!/bin/bash |
2 |
# $Header: /home/cvsd/magellan-cvs/magellan-src/magellan-initscripts/etc/rc.d/init.d/rc,v 1.15 2007-08-17 22:07:29 niro Exp $ |
# $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 $ |
3 |
|
|
4 |
source /etc/sysconfig/rc |
source /etc/sysconfig/rc |
5 |
source $rc_functions |
source $rc_functions |
266 |
fi |
fi |
267 |
fi |
fi |
268 |
|
|
269 |
|
## load usbfs ## |
270 |
|
if kernel_supports_fs usbfs |
271 |
|
then |
272 |
|
echo -e ${COLOREDSTAR}"Mounting usbfs at /proc/bus/usb ..." |
273 |
|
mount -n -t usbfs usbfs /proc/bus/usb |
274 |
|
evaluate_retval |
275 |
|
fi |
276 |
|
|
277 |
### services state dir ### |
### services state dir ### |
278 |
echo -e ${COLOREDSTAR}"Mounting tmpfs at ${svcdir} ..." |
echo -e ${COLOREDSTAR}"Mounting tmpfs at ${svcdir} ..." |
279 |
mount -n -t tmpfs tmpfs "${svcdir}" -o rw,mode=0644,size="${svcsize}"k |
mount -n -t tmpfs tmpfs "${svcdir}" -o rw,mode=0644,size="${svcsize}"k |