|
|
|
#! /bin/bash
. /usr/share/debconf/confmodule
if [ ! -e /dev/cdrom ]; then
fdev=$(awk '$2 ~ "/cdrom" && $1 !~ /^#/ { print $1 }' < /etc/fstab|head -1)
if [ $fdev ] && [ -b $fdev ]; then
db_set cdtool/unknown_audiocd_device $fdev
else
# resort to asking the user
db_input high cdtool/unknown_audiocd_device || true
db_go
fi
fi
| Results 1 - 1 |