Paul Walsh wrote:

>>    any sh-like variant, and so should be kept Bourne-compliant.
> Something that "bit" me on Solaris - the startup script placed in /etc/init.d 
> wouldn't work, until I changed it to
> #!/usr/bin/bash

For info, the error message when using the "as supplied" script (with #!/bin/sh 
) is

/etc/init.d/heartbeat: syntax error at line 264: `i=$' unexpected

Line 264 happens to be a comment!

-- 
Paul Walsh

Systems Manager (UNIX),Corporate ICT,
Birmingham City University.
_______________________________________________________
Linux-HA-Dev: [email protected]
http://lists.linux-ha.org/mailman/listinfo/linux-ha-dev
Home Page: http://linux-ha.org/

Reply via email to