1

Topic: red hat, init scripts, success/failure

I look inside/etc/init.d/functions, the useful functions for  the performance status success/failure there are certain. They are often used as... success $ "$base startup" || failure $ "$base startup" When I see such, I expect that success/failure should print parameters which are transferred to them. But, apparently, that their implementation does not print anything except [OK] / [FAIL]. I do not understand what that of shell-magic? Or it is such method of commenting? # Log that something succeeded success () {["$BOOTUP"! = "verbose"-a-z "$ {LSB:-}"] && echo_success return 0}