On Wed, 11 Jan 2017, Merk - Oliver wrote:
nas4free: /# more /usr/local/bin/upssched-cmd
#!/bin/sh
On 11.01.17 13:58, Roger Price wrote:
I would strongly recommend specifying which script interpreter is to
be used: dash, bash, csh, ksh, ... For example
#!/bin/bash
#!/bin/sh IS THE script interpreter...
dash/bash/ksh should be compatible with such scripts.
(csh is not and never was, but that's another story)
I _strongly_ recomend _against_ using anything other, unless _really_,
_really_ needed.
There seem to be too many case statements in this script.
case statements should be ok here. If you have encountered any problem with
it, just tell us.
--
Matus UHLAR - fantomas, [email protected] ; http://www.fantomas.sk/
Warning: I wish NOT to receive e-mail advertising to this address.
Varovanie: na tuto adresu chcem NEDOSTAVAT akukolvek reklamnu postu.
Remember half the people you know are below average.
_______________________________________________
Nut-upsuser mailing list
[email protected]
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/nut-upsuser