1 |
#!/bin/bash |
#!/bin/bash |
2 |
# $Header: /home/cvsd/magellan-cvs/magellan-src/magellan-initscripts/etc/rc.d/init.d/mountfs,v 1.5 2006-02-25 12:23:28 niro Exp $ |
# $Header: /home/cvsd/magellan-cvs/magellan-src/magellan-initscripts/etc/rc.d/init.d/mountfs,v 1.6 2006-03-25 13:06:53 niro Exp $ |
3 |
|
|
4 |
#%rlevels: 7:s 0:k 6:k |
#%rlevels: 7:s 0:k 6:k |
5 |
#%start: 40 |
#%start: 40 |
103 |
|
|
104 |
if [ -e /.bootdev ] && [ -x /usr/bin/eject ] |
if [ -e /.bootdev ] && [ -x /usr/bin/eject ] |
105 |
then |
then |
106 |
echo -e ${COLOREDSTAR}"Ejecting livecd disc ..." |
echo -e ${COLOREDSTAR}"Trying to eject the live-media ..." |
107 |
eject -m /mnt/cdrom &> /dev/null |
eject -m /mnt/cdrom &> /dev/null |
108 |
evaluate_retval |
evaluate_retval |
109 |
fi |
fi |