--- vicidial.old	2016-05-19 14:45:49.592071488 -0700
+++ vicidial	2016-05-19 14:37:07.445305911 -0700
@@ -151,7 +151,7 @@
 	if [[ "$(/sbin/lsmod | /usr/bin/grep dahdi)" ]]; then
 		echo "   DAHDI already loaded, skipping."
 	else
-		if [ -x $WAN_BIN -a -f "/etc/wanpipe/wanpipe"* ]; then
+		if [ -x $WAN_BIN -a "$(find /etc/wanpipe -maxdepth 1 -name 'wanpipea*.conf' -print -quit)" ]; then
 			echo -n "   Sangoma wanrouter config found, loading... "
 			$WAN_BIN start 2>>/var/log/vicidial.log 1>&2
 			if [ ! /sbin/lsmod | /usr/bin/grep wanpipe ]; then
