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

Re: udev, init.d and a daemon



Marco d'Itri wrote:
On Aug 11, "Giacomo A. Catenazzi" <cate@debian.org> wrote:

- How to handle the common case: keyboard is already attached
  (daemon is in /usr filesystem), with udev.

cd /lib/udev/
. ./hotplug.functions
wait_for_file /dev/log

Thanks. I was looking for such function since years!


- How to load uinput module?  Actually I modprobe and I pool
I expect that it would be autoloaded by udev when the hardware is
installed.

uinput is "input from userspace", so no hardware.
But probably CONFIG_INPUT_UINPUT must be set "y" on debian kernels.


- init.d script is still need for shutdown phase
Is there any point in killing such a daemon on shutdown instead of
letting the generic init scripts do it?

Maybe. I like to manually start and stop daemons (especially
for tests), and for upgrades I think we need a sysadmin method for stop and
(re)start a deamon.
But I'll think more about this.

Anyway, thanks!

ciao
	cate


Reply to: