[Top][All Lists]

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

Re: Shishi 0.0.26

From: Simon Josefsson
Subject: Re: Shishi 0.0.26
Date: Sun, 21 May 2006 14:43:00 +0200
User-agent: Gnus/5.110006 (No Gnus v0.6) Emacs/22.0.50 (gnu/linux)

Simon Josefsson <address@hidden> writes:

>> I'm not sure on the best solution.  Maybe set NAME to shishid as it is
>> now, but not use NAME when loading the defaults file and setting the path
>> to the init script?
> The correct solution seem to depend on what the NAME field is supposed
> to contain; the binary name, the package name, or something else.
> Elrond said the info block was lsb, but I can't find any lsb
> documentation on init scripts, but I'm surely missing something.
> Elrond, do you know where the init files are documented?

Ok, I found it:

But I realize that I was confused, it doesn't have anything to do with
the NAME variable.

I agree with what you propose, hence I installed the patch below.  I
hope it is ready to be uploaded now...


--- shishi-kdc.init.d   17 May 2006 12:36:49 +0200      1.2
+++ shishi-kdc.init.d   21 May 2006 14:39:06 +0200      
@@ -32,13 +32,13 @@
 # Exit if the package is not installed
 [ -x "$DAEMON" ] || exit 0
 # Read configuration variable file if it is present
-[ -r /etc/default/$NAME ] && . /etc/default/$NAME
+[ -r /etc/default/shishi-kdc ] && . /etc/default/shishi-kdc
 # Load the VERBOSE setting and other rcS variables
 [ -f /etc/default/rcS ] && . /etc/default/rcS

reply via email to

[Prev in Thread] Current Thread [Next in Thread]