rc: remove 3g modem cdrom eject

Not explained why added in 2012 and never touched since.  Also only
works on one device.
This commit is contained in:
Franco Fichtner 2016-04-10 19:00:47 +02:00
parent 117c292ee8
commit f032e08896

View File

@ -88,13 +88,6 @@ if [ ! -f /usr/local/openssl/openssl.cnf ]; then
echo "done."
fi
#Eject CD devices on 3G modems
MANUFACTURER="huawei|zte"
CDDEVICE=`dmesg |egrep -ie "($MANUFACTURER)" | awk -F: '/cd/ {print $1}'`
if [ "$CDDEVICE" != "" ]; then
cdcontrol -f /dev/"$CDDEVICE" eject
fi
# Enable console output if its muted.
/sbin/conscontrol mute off >/dev/null