[asterisk-dev] pesky zaptel users to kill
Tzafrir Cohen
tzafrir.cohen at xorcom.com
Mon Jan 15 02:30:55 MST 2007
Hi
Here's something I consider adding to the stop target of the zaptel init
scripts:
kill_zaptel_users() {
fuser -k /dev/zap/*
}
unload)
...
kill_zaptel_users
# recusively unloads all zapotel modules.
unload_module zaptel
The other alternative is to just testwith fuser and fail the test if
there are active users.
Such users may be, e.g asterisk, ztmonitor or some other zaptel users.
What do you think?
--
Tzafrir Cohen
icq#16849755 jabber:tzafrir at jabber.org
+972-50-7952406 mailto:tzafrir.cohen at xorcom.com
http://www.xorcom.com iax:guest at local.xorcom.com/tzafrir
More information about the asterisk-dev
mailing list