dahdi.init: Don't exit on lack of /etc/dahdi/system.conf
auto_spans and dahdi_cfg -c are valid config methods which may not have a /etc/dahdi/system.conf. We already check for the existance of the dahdi modules before the case start, so I think it's safe to remove this section. Signed-off-by: Russ Meyerriecks <rmeyerriecks@digium.com> Acked-by: Tzafrir Cohen <tzafrir.cohen@xorcom.com>
This commit is contained in:
parent
63842cc4f3
commit
91768d360c
@ -237,11 +237,6 @@ if [ ! -x "$DAHDI_CFG" ]; then
|
|||||||
exit 0
|
exit 0
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [ ! -f /etc/dahdi/system.conf ]; then
|
|
||||||
echo "/etc/dahdi/system.conf not found. Nothing to do."
|
|
||||||
exit 0
|
|
||||||
fi
|
|
||||||
|
|
||||||
RETVAL=0
|
RETVAL=0
|
||||||
|
|
||||||
# See how we were called.
|
# See how we were called.
|
||||||
|
Loading…
Reference in New Issue
Block a user