mirror of
https://github.com/asterisk/asterisk.git
synced 2025-10-12 15:45:18 +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:
@@ -79,7 +79,7 @@ case "$1" in
|
||||
;;
|
||||
reload)
|
||||
echo "Reloading $DESC configuration files."
|
||||
$DAEMON -rx 'reload' > /dev/null 2> /dev/null
|
||||
$DAEMON -rx 'module reload' > /dev/null 2> /dev/null
|
||||
;;
|
||||
restart|force-reload)
|
||||
$0 stop
|
||||
|
Reference in New Issue
Block a user