FC6 and /etc/rc.d/init.d/smartd
Bruno Wolff III
bruno at wolff.to
Thu Nov 2 10:49:59 UTC 2006
On Wed, Nov 01, 2006 at 18:55:59 -0800,
Kevin Layer <layer at known.net> wrote:
> If I change /etc/smartd.conf and remove the auto-generated marker so
> my changes do not get clobbered, I get an error when the init script
> is run:
>
> /etc/rc.d/init.d/smartd: line 40: [: ==: unary operator expected
>
> This change fixes the problem:
>
> && [ "$GEN_CONF" == "*SMARTD*AUTOGENERATED*" ] \
>
> to
>
> && [ $GEN_CONF == "*SMARTD*AUTOGENERATED*" ] \
>
>
> I originally sent this to the smartmontools-support mailing list and
> they said it wasn't their code...
You really should bugzilla this, as the appropiate developer may not see
the issue on the mailing lists.
More information about the fedora-list
mailing list