Commit 8a5bb675 authored by Franco Fichtner's avatar Franco Fichtner

rc: remove 3g modem cdrom eject

Not explained why added in 2012 and never touched since.  Also only
works on one device.

(cherry picked from commit f032e088)
parent 020d7f91
......@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment