gnokii-users
[Top][All Lists]
Advanced

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

Re: smsd configuration file


From: Daniele Forsi
Subject: Re: smsd configuration file
Date: Fri, 26 Oct 2007 17:02:01 +0200
User-agent: KMail/1.9.4

Krzysztof Śniadoch wrote:

> is smsd supports custom path to gnokiirc?

it doesn't support the --config option

> By default smsd looks for 
> gnokiirc in /root and /etc

it's libgnokii that looks for the config, first $HOME/.gnokiirc (with a 
leading dot) then /etc/gnokiirc (without a leading dot)

> how to force smsd to use configuration 
> stored in eg. /usr/smsd/gnokiirc ?

you can force it to read a /usr/smsd/.gnokiirc (with a leading dot) changing 
the HOME variable just for smsd:

HOME=/usr/smsd smsd ...

better not to export the HOME variable to the shell environment to avoid 
affecting other programs

-- 
Daniele




reply via email to

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