mirror of
https://github.com/asterisk/asterisk.git
synced 2025-09-29 18:19:30 +00:00
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: https://origsvn.digium.com/svn/asterisk/trunk@150930 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -105,7 +105,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.
|
||||
|
Reference in New Issue
Block a user