summaryrefslogtreecommitdiff
path: root/dahdi.init
diff options
context:
space:
mode:
authorShaun Ruffell <sruffell@digium.com>2009-01-28 18:49:48 +0000
committerShaun Ruffell <sruffell@digium.com>2009-01-28 18:49:48 +0000
commit763ff6055c20d2879567661e0886d522660059f3 (patch)
tree67aa0aab085e6fe93d4314c81bc48c137147c3f5 /dahdi.init
parentcdbffe4f64fd820773731d26926b6cb1bd79353a (diff)
Use the dahdihpec_enable tool instead of the zaphpec_enable.
Issue: DAHDI-233 patch by: cmoye git-svn-id: http://svn.asterisk.org/svn/dahdi/tools/trunk@5886 a0bf4364-ded3-4de4-8d8a-66a801d63aff
Diffstat (limited to 'dahdi.init')
-rwxr-xr-xdahdi.init26
1 files changed, 13 insertions, 13 deletions
diff --git a/dahdi.init b/dahdi.init
index 605db65..ee7ebc9 100755
--- a/dahdi.init
+++ b/dahdi.init
@@ -109,28 +109,28 @@ hpec_start() {
return
fi
- # zaphpec_enable not installed in /usr/sbin
- if [ ! -f /usr/sbin/zaphpec_enable ]; then
- echo -n "Running zaphpec_enable: Failed"
+ # dahdihpec_enable not installed in /usr/sbin
+ if [ ! -f /usr/sbin/dahdihpec_enable ]; then
+ echo -n "Running dahdihpec_enable: Failed"
echo -n "."
- echo " The zaphpec_enable binary is not installed in /usr/sbin."
+ echo " The dahdihpec_enable binary is not installed in /usr/sbin."
return
fi
- # zaphpec_enable not set executable
- if [ ! -x /usr/sbin/zaphpec_enable ]; then
- echo -n "Running zaphpec_enable: Failed"
+ # dahdihpec_enable not set executable
+ if [ ! -x /usr/sbin/dahdihpec_enable ]; then
+ echo -n "Running dahdihpec_enable: Failed"
echo -n "."
- echo " /usr/sbin/zaphpec_enable is not set as executable."
+ echo " /usr/sbin/dahdihpec_enable is not set as executable."
return
fi
- # zaphpec_enable properly installed
+ # dahdihpec_enable properly installed
if [ $system = debian ]; then
- echo -n "Running zaphpec_enable: "
- /usr/sbin/zaphpec_enable 2> /dev/null
+ echo -n "Running dahdihpec_enable: "
+ /usr/sbin/dahdihpec_enable 2> /dev/null
elif [ $system = redhat ]; then
- action "Running zaphpec_enable: " /usr/sbin/zaphpec_enable
+ action "Running dahdihpec_enable: " /usr/sbin/dahdihpec_enable
fi
if [ $? = 0 ]; then
echo -n "done"
@@ -138,7 +138,7 @@ hpec_start() {
else
echo -n "Failed"
echo -n "."
- echo " This can be caused if you had already run zaphpec_enable, or if your HPEC license is no longer valid."
+ echo " This can be caused if you had already run dahdihpec_enable, or if your HPEC license is no longer valid."
fi
}