You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
DAHDI: Clean up old/dead patches, minor cosmetic improvements.
* Remove patch support for DAHDI Linux < 3.3.0
* Removed out-of-tree patches that are merged upstream or on GitHub
* Remove dead/unused code and patches. There are some patches that
are not currently used, but they are not quite "dead" as they
are not merged upstream and need further investigation.
* Don't try starting wanrouter service if the service isn't installed.
* Don't use \n in echoerr, since that only works with printf, not echo.
num_spans=$( dahdi_span_assignments list | wc -l )
805
806
if [ $num_spans-gt 1 ];then
806
-
echoerr "Detected that this machine has more than 1 DAHDI span.\nYou are HIGHLY ENCOURAGED to assign the span order explicitly in /etc/dahdi/assigned-spans.conf!"
807
+
echoerr "Detected that this machine has more than 1 DAHDI span."
808
+
echoerr "You are HIGHLY ENCOURAGED to assign the span order explicitly in /etc/dahdi/assigned-spans.conf!"
807
809
echoerr "To do this, add 'options dahdi auto_assign_spans=0' to /etc/modprobe.d/dahdi.conf and run 'phreaknet restart'"
808
810
sleep 1
809
811
fi
@@ -1945,18 +1947,6 @@ install_dahdi() {
1945
1947
dahdi_unpurge $DAHDI_LIN_SRC_DIR# for some reason, this needs to be applied before the next branch patches
0 commit comments