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