Re: FC6 and /etc/rc.d/init.d/smartd

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, Nov 01, 2006 at 18:55:59 -0800,
  Kevin Layer <layer@xxxxxxxxx> 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.


[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux