Greetings, Jean Delvare! > - grep -q '^$(LIBDIR)$$' /etc/ld.so.conf || \ > - grep -q '^$(LIBDIR)[[:space:]:,=]' /etc/ld.so.conf || \ > - grep -q '[[:space:]:,]$(LIBDIR)$$' /etc/ld.so.conf || \ > - grep -q '[[:space:]:,]$(LIBDIR)[[:space:]:,=]' /etc/ld.so.conf || \ > + cat /etc/ld.so.conf /etc/ld.so.conf.d/*.conf 2>/dev/null | grep -q '^$(LIBDIR)$$' || \ > + cat /etc/ld.so.conf /etc/ld.so.conf.d/*.conf 2>/dev/null | grep -q '^$(LIBDIR)[[:space:]:,=]' || \ > + cat /etc/ld.so.conf /etc/ld.so.conf.d/*.conf 2>/dev/null | grep -q '[[:space:]:,]$(LIBDIR)$$' || \ > + cat /etc/ld.so.conf /etc/ld.so.conf.d/*.conf 2>/dev/null | grep -q '[[:space:]:,]$(LIBDIR)[[:space:]:,=]' || \ > ( echo '******************************************************************************' ; \ > echo 'Warning: Library directory $(LIBDIR) is not in /etc/ld.so.conf!' ; \ > echo ' Add it and run /sbin/ldconfig for the userspace tools to work.' ; \ http://en.wikipedia.org/wiki/Cat_(Unix)#Useless_use_of_cat Move file lists to grep, save yourself a few CPU cycles. -- WBR, Andrey Repin (hell-for-yahoo@xxxxxxxx) 19.04.2012, <15:08> Sorry for my terrible english... _______________________________________________ lm-sensors mailing list lm-sensors@xxxxxxxxxxxxxx http://lists.lm-sensors.org/mailman/listinfo/lm-sensors