1 # --- T2-COPYRIGHT-NOTE-BEGIN ---
2 # This copyright note is auto-generated by ./scripts/Create-CopyPatch.
4 # T2 SDE: package/.../zaptel/pkg_module-init-tools_pre.conf
5 # Copyright (C) 2006 The T2 SDE Project
7 # More information can be found in the files COPYING and README.
9 # This program is free software; you can redistribute it and/or modify
10 # it under the terms of the GNU General Public License as published by
11 # the Free Software Foundation; version 2 of the License. A copy of the
12 # GNU General Public License can be found in the file COPYING.
13 # --- T2-COPYRIGHT-NOTE-END ---
15 # zaptel postmake hook for module-init-tools
17 # modules where we have to run ztcfg after loading
18 local zmodules="tor2 wcusb wcfxo wctdm24xxp ztdynamic ztd-eth wct1xxp \
19 wct4xxp wcte11xp pciradio ztd-loc ztdummy torisa"
21 cat >> $root/etc/modprobe.conf <<-EOT
23 # Zapata Telephony Interface Drivers for Digium cards
25 options torisa base=0xd0000
26 alias char-major-196 torisa
31 for x in $zmodules; do
32 echo "install $x modprobe --ignore-install $x; /sbin/ztcfg"
33 done >> $root/etc/modprobe.conf
37 hook_add postmake 6 'zaptel_mit_pm'