summaryrefslogtreecommitdiff
path: root/kernel/xpp/utils/genzaptelconf
diff options
context:
space:
mode:
Diffstat (limited to 'kernel/xpp/utils/genzaptelconf')
-rwxr-xr-xkernel/xpp/utils/genzaptelconf5
1 files changed, 4 insertions, 1 deletions
diff --git a/kernel/xpp/utils/genzaptelconf b/kernel/xpp/utils/genzaptelconf
index 1435e9f..163f595 100755
--- a/kernel/xpp/utils/genzaptelconf
+++ b/kernel/xpp/utils/genzaptelconf
@@ -973,7 +973,10 @@ EOF
# this is an empty slot.
# TODO: I believe that the Sangoma A20x will reject both and thus
# print nothing here.
- echo "# channel $chan_num, WCTDM, no module." >> $zaptel_file
+ case "$mode" in
+ list) echo "# channel $chan_num, WCTDM, no module.";;
+ files) echo "# channel $chan_num, WCTDM, no module." >> $zaptel_file;;
+ esac
continue
fi