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

Re: starting irexec in a startup script



Yes, something like that.

On 9/20/05, Simo Kauppi <swk@nic.fi> wrote:
On Mon, Sep 19, 2005 at 01:42:53PM +0300, Andras Lorincz wrote:
> Hi,
>
> The lirc daemon starts at startup and I want to launch the command "irexec
> --daemon" too. To achieve this I made a script in /etc/init.d which contains
> this:
>
> #!/bin/bash
>
> su lorand -c "irexec --daemon"
>
> then I ran the command "update-rc.d irexec_stup defaults" (lorand is the
> username). After restart I can see the process of irexec but nothing happens
> when I press the button on the remote. Also the process is owned by lorand
> as it should. Why is that it doesn't respond to commands, or should I do it
> another way?

This might be a stupid question, but do you have
        proc = irexec
        button = something
        config = something
in your .lircrc to tell the daemon what it should do?

Simo
--
:r ~/.signature


-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (GNU/Linux)

iD8DBQFDME/x4RQe7Exc22QRAu6tAJ42m+MRxRSA0I5ymH0jL++FsVUN4gCfQO1Z
Umixmnyp4jAUfaKh5d9FuHY=
=uUKn
-----END PGP SIGNATURE-----




Reply to: