Don't fail init script if no modules
authorTzafrir Cohen <tzafrir.cohen@xorcom.com>
Thu, 23 May 2013 16:49:57 +0000 (19:49 +0300)
committerRuss Meyerriecks <rmeyerriecks@digium.com>
Thu, 23 May 2013 22:16:27 +0000 (17:16 -0500)
commitde23ca9c1a6055f187b16f059661691109a382c0
treee4995175921bb962410785afd1c63a885b30da19
parent1f26e30907aab1d7dff258f71017f371a5cc0279
Don't fail init script if no modules

No point in loading the modules if nobody built them yet. It is a common
case for one to install the userspace tools package but not (yet?) build
the modules. See, e.g.  http://bugs.debian.org/706046 .

With this changeset, we exit gracefully in such a case.

Signed-off-by: Tzafrir Cohen <tzafrir.cohen@xorcom.com>
Signed-off-by: Russ Meyerriecks <rmeyerriecks@digium.com>
dahdi.init