Gentoo Archives: gentoo-user

From: Cry Wolf <gentoo@×××××××××××.net>
To: gentoo-user@l.g.o
Subject: [gentoo-user] problem with 'source' in heartbeat init script
Date: Thu, 11 Jan 2007 22:13:53
Message-Id: 20070111170528.1345660b@archie.idealso.com
1 I'm trying to use heartbeat, but running into a bit of a snag at the
2 very beginning. The init script attempts to source a file with '.
3 $HA_DIR/shellfuncs'. shellfuncs tries to figure out what its name is
4 with 'basename $0'. The problem is that $0 contains the name of the
5 shell instead of the name of the file being executed, and so it
6 quietly fails, although the init script appears to start successfully.
7
8 Is there a good workaround for this?
9 --
10 gentoo-user@g.o mailing list