summaryrefslogtreecommitdiff
path: root/build_tools
diff options
context:
space:
mode:
authorMatthew Fredrickson <creslin@digium.com>2008-05-23 16:32:43 +0000
committerMatthew Fredrickson <creslin@digium.com>2008-05-23 16:32:43 +0000
commitadd8ef14f39b1db9652bad7db9d50f995d3a8802 (patch)
tree05110fd820380e08764e4f872d6c8256b49b3869 /build_tools
parent21308078ee476f5500c5a96acab3f77fc585d5b3 (diff)
Remove remaining references to zap devices and some zaptel references
git-svn-id: http://svn.asterisk.org/svn/dahdi/tools/trunk@4352 a0bf4364-ded3-4de4-8d8a-66a801d63aff
Diffstat (limited to 'build_tools')
-rwxr-xr-xbuild_tools/genmodconf20
-rwxr-xr-xbuild_tools/genudevrules18
2 files changed, 19 insertions, 19 deletions
diff --git a/build_tools/genmodconf b/build_tools/genmodconf
index ada453e..b4d740b 100755
--- a/build_tools/genmodconf
+++ b/build_tools/genmodconf
@@ -1,7 +1,7 @@
#!/bin/sh
# this script makes an attempt to build a proper set of rules
-# for loading the Zaptel modules and automatically running ztcfg
+# for loading the DAHDI modules and automatically running dahdi_cfg
#
# it accepts three parameters:
# the kernel major version being targeted (either linux24 or linux26)
@@ -11,19 +11,19 @@
# the process is as follows:
#
# for linux24, the file can be located either at /etc/modules.conf (combined
-# with all other rules) or in /etc/modutils/zaptel (only the Zaptel rules)
+# with all other rules) or in /etc/modutils/dahdi (only the DAHDI rules)
#
# for linux26, the file can be located at /etc/modprobe.conf (combined with all
-# other rules), /etc/modprobe.d/zaptel (Zaptel only) or /etc/modules.d/zaptel
-# (Zaptel only)
+# other rules), /etc/modprobe.d/dahdi (DAHDI only) or /etc/modules.d/dahdi
+# (DAHDI only)
#
-# when the file is Zaptel rules only, then we don't preserve the existing
+# when the file is DAHDI rules only, then we don't preserve the existing
# contents of the file; the system administrator can put desired options and
# overrides in a separate file with a name that appears earlier in the sort
# order, so there is no need to edit the file produced by this script
#
# when the file is combined with all other rules, then we make a backup
-# of it and remove all the old Zaptel rules we can find, replacing them with
+# of it and remove all the old DAHDI rules we can find, replacing them with
# new ones
#
# in addition, for linux26, versions of module-init-tools 3.2.0 and later
@@ -33,7 +33,7 @@
if [ "${1}" = "linux24" ]; then
if [ -d ${2}/etc/modutils ]; then
- target=${2}/etc/modutils/zaptel
+ target=${2}/etc/modutils/dahdi
elif [ -f ${2}/etc/modules.conf ]; then
target=${2}/etc/modules.conf
combined=1
@@ -47,9 +47,9 @@ elif [ "${1}" = "linux26" ]; then
cmdopts=\$CMDLINE_OPTS
fi
if [ -d ${2}/etc/modprobe.d ]; then
- target=${2}/etc/modprobe.d/zaptel
+ target=${2}/etc/modprobe.d/dahdi
elif [ -d ${2}/etc/modules.d ]; then
- target=${2}/etc/modules.d/zaptel
+ target=${2}/etc/modules.d/dahdi
elif [ -f ${2}/etc/modprobe.conf ]; then
target=${2}/etc/modprobe.conf
combined=1
@@ -102,6 +102,6 @@ if [ -z "${combined}" ]; then
echo "*** In the future, do not edit ${target}, but"
echo "*** instead put your changes in another file"
echo "*** in the same directory so that they will not"
- echo "*** be overwritten by future Zaptel updates."
+ echo "*** be overwritten by future DAHDI updates."
echo "***"
fi
diff --git a/build_tools/genudevrules b/build_tools/genudevrules
index 17e1f90..c3081c9 100755
--- a/build_tools/genudevrules
+++ b/build_tools/genudevrules
@@ -21,15 +21,15 @@ else
fi
cat <<EOF
-# udev rules to generate the /dev/zap device files (if not yet provided
+# udev rules to generate the /dev/dahdi device files (if not yet provided
# by your distribution):
-KERNEL${match}"zapctl", NAME="zap/ctl"
-KERNEL${match}"zaptranscode", NAME="zap/transcode"
-KERNEL${match}"zaptimer", NAME="zap/timer"
-KERNEL${match}"zapchannel", NAME="zap/channel"
-KERNEL${match}"zappseudo", NAME="zap/pseudo"
-KERNEL${match}"zap[0-9]*", NAME="zap/%n"
+KERNEL${match}"dahdictl", NAME="dahdi/ctl"
+KERNEL${match}"dahditranscode", NAME="dahdi/transcode"
+KERNEL${match}"dahditimer", NAME="dahdi/timer"
+KERNEL${match}"dahdichannel", NAME="dahdi/channel"
+KERNEL${match}"dahdipseudo", NAME="dahdi/pseudo"
+KERNEL${match}"dahdi[0-9]*", NAME="dahdi/%n"
-# zaptel devices with ownership/permissions for running as non-root
-SUBSYSTEM${match}"zaptel", OWNER="asterisk", GROUP="asterisk", MODE="0660"
+# dahdi devices with ownership/permissions for running as non-root
+SUBSYSTEM${match}"dahdi", OWNER="asterisk", GROUP="asterisk", MODE="0660"
EOF