On Fri, Oct 15, 2004 at 11:56:16PM +0200, Farzad FARID wrote: > On my freshly installed Debian unstable, /etc/init.d/discover fails to > create the symlinks in /dev and /media. I trace this down with "sh -x > /etc/init.d/discover start" and found out that the script stopped on > an error while grepping /proc/mounts, therefore never finishing its > job. Add set -e back, and does changing this line: mountsent="$(grep " $CDMOUNT " /proc/mounts)" to either mountsent=$(grep " $CDMOUNT " /proc/mounts) or mountsent=$(grep " $CDMOUNT " /proc/mounts || true) work as well? Thanks for testing. -- Joshua Kwan
Attachment:
signature.asc
Description: Digital signature