Hi, On Mon, Aug 29, 2016 at 10:13:18AM -0500, Dmitri Maziuk wrote: > On 2016-08-29 04:06, Gabriele Bulfon wrote: > >Thanks, though this does not work :) > > Uhm... right. Too many languages, sorry: perl's system() will call the login > shell, system system() uses /bin/sh, and exec()s will run whatever the > programmer tells them to. The point is none of them cares what shell's in > shebang line AFAIK.
The kernel reads the shebang line and it is what defines the interpreter which is to be invoked to run the script. > But anyway, you're correct; a lot of linux "shell" scripts are bash-only and > pacemaker RAs are no exception. None of /bin/sh RA requires bash. Thanks, Dejan > > Dima > > > _______________________________________________ > Users mailing list: Users@clusterlabs.org > http://clusterlabs.org/mailman/listinfo/users > > Project Home: http://www.clusterlabs.org > Getting started: http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf > Bugs: http://bugs.clusterlabs.org _______________________________________________ Users mailing list: Users@clusterlabs.org http://clusterlabs.org/mailman/listinfo/users Project Home: http://www.clusterlabs.org Getting started: http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf Bugs: http://bugs.clusterlabs.org