[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: better init.d/* : who carres ?




On Aug 24, 2005, at 11:19 PM, sean finney wrote:

On Wed, Aug 24, 2005 at 11:08:41PM +0200, Mauro Calderara wrote:
Aren't the init-scripts supposed to be posix-compilant? Often when
installing dash as /bin/sh this becomes a problem because even though
dash is posix-compatible it tends to break init-scripts for me. Whether this is dash's fault or the init-scripts is beyond my knowledge since I
don't
know POSIX very well. But still I think bashisms should be avoided.

/bin/sh init scripts are supposed to be posix sh compliant (with
an additional specification about echo in policy).  but as i said,
it is a *bash* script...


#!/bin/bash
#
# MySQL daemon start/stop script.

Right you are ... I'm sorry, should have checked before posting. You have
my apologies

	sean

mauro



Reply to: