[colug-432] First script - would anyone care to review?

Rick Troth rmt at casita.net
Wed Jun 3 11:14:32 EDT 2015


I haven't followed the logic, but your shell script looks visually
"maintainable". Good!

Recommend going with /bin/sh rather than BASH-centric where possible.
Did not see any BASH-specific constructs. In particular, your case block
should work on any Bourne-compatible shell. (That's the goal.)


On 06/02/2015 04:49 PM, Zach Villers wrote:
> I'm studying for the RHCSA cert and wanted to create an environment to
> practice on in a virtual machine. I also wanted to learn scripting. I'd
> read a good bit about the absence of good documentation on setting up an
> LDAP server in CentOS/RHEL 7. (In fact the RHEL docs just link to a rather
> unhelpful page on using Mozilla NSS to create TLS certificates) I decided
> to give it a try...a couple weeks ago...there is now a dent in my desk from
> banging my forehead into it.
>
> Luckily percussive cranial osmosis works for me. There is now a bash
> script, with two required text files up on github at
> https://github.com/Aikidouke/RHELAB . If anyone would like to give it a
> read, or try it out, I would appreciate any tips.
>
> I say this in the README.md, but if you don't read READMEs and you use this
> on a production machine, well, you really should read the README.
>
> Thanks,
> Zach
>
>
>
> _______________________________________________
> colug-432 mailing list
> colug-432 at colug.net
> http://lists.colug.net/mailman/listinfo/colug-432

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.colug.net/pipermail/colug-432/attachments/20150603/53cdf41a/attachment.html 


More information about the colug-432 mailing list