5 CONFIG_LINE="input:file=\/etc\/headphoned\/mplayer-input"
6 MPLAYER_CONF="/etc/mplayer/mplayer.conf"
8 # Remove the headphoned "input" config option for MPlayer (if it exists)
9 if [ -f "$MPLAYER_CONF" ]; then
10 if grep "$CONFIG_LINE" "$MPLAYER_CONF" >/dev/null; then
11 echo -n "Updating $MPLAYER_CONF... "
12 sed -i -e "/$CONFIG_LINE/d" "$MPLAYER_CONF"