Commit f032e088 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.
parent 117c292e
...@@ -88,13 +88,6 @@ if [ ! -f /usr/local/openssl/openssl.cnf ]; then ...@@ -88,13 +88,6 @@ if [ ! -f /usr/local/openssl/openssl.cnf ]; then
echo "done." echo "done."
fi 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. # Enable console output if its muted.
/sbin/conscontrol mute off >/dev/null /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