[asterisk-users] Zaptel problems on SuSE 9.3
Philipp Kempgen
philipp.kempgen at amooma.de
Mon Oct 5 16:39:53 CDT 2009
Angus Asterisk schrieb:
> It seems that the zaptel startup script does not work. I noticed at startup
> the line:
> /etc/init.d/zaptel: line 40: /etc/init.d/functions: No such file or
> directory
>
> Line 40:
> # Source function library.
> if [ $system = redhat ]; then
> . $initdir/functions || exit 0
> Fi
> The . %initdir... is line 40.
>
> Any ideas how to fix this file on suse?
/etc/init.d/functions might be available as /lib/lsb/init-functions
so the snippet in /etc/init.d/zaptel could be changed to something
like
# Source function library.
if [ -e /lib/lsb/init-functions ]; then
. /lib/lsb/init-functions || exit 0
elif [ -e $initdir/functions ]; then
. $initdir/functions || exit 0
fi
(untested)
Philipp Kempgen
--
AMOOMA GmbH - Bachstr. 126 - 56566 Neuwied -> http://www.amooma.de
Geschäftsführer: Stefan Wintermeyer, Handelsregister: Neuwied B14998
Asterisk: http://the-asterisk-book.com - http://das-asterisk-buch.de
Videos of the AMOOCON VoIP conference 2009 -> http://www.amoocon.de
--
More information about the asterisk-users
mailing list