Subject Re: Firebird on Ubuntu 6.10: cannot stop server
Author skoczian
--- In firebird-support@yahoogroups.com, "skoczian"
<nulla.epistola@...> wrote:
>
> --- In firebird-support@yahoogroups.com, Milan Babuskov <milanb@>
> wrote:
> >
> > skoczian wrote:
> > > Calling "sudo /etc/init.d/firebird2 start" gives the message
> > > "/etc/init.d/firebird2: 28: source: not found", but the server
starts
> >
> > Which shell are you running? And, more important, what does /bin/sh
> > point to in your installation?
> >
> Points to dash - since the update. With this information I found more on
> the Ubuntu wiki. Will try the recommendation given there to alter the
> first line of the start script to #!/bin/bash.
>

Well, that did it: changed #!/bin/sh to #!/bin/bash and now the script
works as before. Thank you again!

As far as I can gather a shell script shouldn't say '#!/bin/sh' and
then use bash extensions. Right? Who maintains this script, Ubuntu or
Firebird?

There was another bug in it anyway:
https://launchpad.net/distros/ubuntu/+source/firebird2/+bug/33235
solved by this patch:
http://librarian.launchpad.net/4289014/etc-init.d-firebird2.patch