<div style="font-family: Arial; font-size: 13;">Not RA, but ocf-* do, because of the "local" operator usage.<br><br><div id="wt-mailcard"><div style="font-family: Arial;">----------------------------------------------------------------------------------------<br></div><div style="font-family: Arial;"><b>Sonicle S.r.l. </b>: <a href="http://www.sonicle.com/" target="_new">http://www.sonicle.com</a></div><div style="font-family: Arial;"><b>Music: </b><a href="http://www.gabrielebulfon.com/" target="_new">http://www.gabrielebulfon.com</a></div><div style="font-family: Arial;"><b>Quantum Mechanics : </b><a href="http://www.cdbaby.com/cd/gabrielebulfon" target="_new">http://www.cdbaby.com/cd/gabrielebulfon</a></div></div><tt><br><br><br>----------------------------------------------------------------------------------<br><br>Da: Dejan Muhamedagic <dejanmm@fastmail.fm><br>A: Cluster Labs - All topics related to open-source clustering welcomed <users@clusterlabs.org> <br>Data: 30 agosto 2016 10.44.49 CEST<br>Oggetto: Re: [ClusterLabs] ocf scripts shell and local variables<br><br></tt><blockquote style="BORDER-LEFT: #000080 2px solid; MARGIN-LEFT: 5px; PADDING-LEFT: 5px"><tt>Hi,<br><br>On Mon, Aug 29, 2016 at 10:13:18AM -0500, Dmitri Maziuk wrote:<br>> On 2016-08-29 04:06, Gabriele Bulfon wrote:<br>> >Thanks, though this does not work :)<br>> <br>> Uhm... right. Too many languages, sorry: perl's system() will call the login<br>> shell, system system() uses /bin/sh, and exec()s will run whatever the<br>> programmer tells them to. The point is none of them cares what shell's in<br>> shebang line AFAIK.<br><br>The kernel reads the shebang line and it is what defines the<br>interpreter which is to be invoked to run the script.<br><br>> But anyway, you're correct; a lot of linux "shell" scripts are bash-only and<br>> pacemaker RAs are no exception.<br><br>None of /bin/sh RA requires bash.<br><br>Thanks,<br><br>Dejan<br><br>> <br>> Dima<br>> <br>> <br>> _______________________________________________<br>> Users mailing list: Users@clusterlabs.org<br>> http://clusterlabs.org/mailman/listinfo/users<br>> <br>> Project Home: http://www.clusterlabs.org<br>> Getting started: http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf<br>> Bugs: http://bugs.clusterlabs.org<br><br>_______________________________________________<br>Users mailing list: Users@clusterlabs.org<br>http://clusterlabs.org/mailman/listinfo/users<br><br>Project Home: http://www.clusterlabs.org<br>Getting started: http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf<br>Bugs: http://bugs.clusterlabs.org<br><br><br></tt></blockquote></div>