aboutsummaryrefslogtreecommitdiffstats
path: root/contrib/init.d/rc.redhat.asterisk
diff options
context:
space:
mode:
authormvanbaak <mvanbaak@f38db490-d61c-443f-a65b-d21fe96a405b>2008-10-18 09:02:36 +0000
committermvanbaak <mvanbaak@f38db490-d61c-443f-a65b-d21fe96a405b>2008-10-18 09:02:36 +0000
commitfc9bce29922f85ddfa91eb5520e1972cf7f74992 (patch)
tree1a4c7dca8cc9cf7f98167f4ae5f5e79aa2c866d3 /contrib/init.d/rc.redhat.asterisk
parentb630ee1134a18b3f738f96eb309bd7ba00fec676 (diff)
dont use deprecated commands in the init scripts.
(closes issue #13720) Reported by: decryptus_proformatique Patches: contrib_initd_module_reload.patch uploaded by decryptus (license 555) With mods by me to fix stop commands as well git-svn-id: http://svn.digium.com/svn/asterisk/trunk@150930 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'contrib/init.d/rc.redhat.asterisk')
-rwxr-xr-xcontrib/init.d/rc.redhat.asterisk2
1 files changed, 1 insertions, 1 deletions
diff --git a/contrib/init.d/rc.redhat.asterisk b/contrib/init.d/rc.redhat.asterisk
index d2a630ea4..f45f8d7ab 100755
--- a/contrib/init.d/rc.redhat.asterisk
+++ b/contrib/init.d/rc.redhat.asterisk
@@ -113,7 +113,7 @@ restart() {
}
reload() {
- $DAEMON -rx 'reload' > /dev/null 2> /dev/null
+ $DAEMON -rx 'module reload' > /dev/null 2> /dev/null
}
# See how we were called.