diff options
author | doktornotor <notordoktor@gmail.com> | 2015-08-18 15:37:00 +0200 |
---|---|---|
committer | doktornotor <notordoktor@gmail.com> | 2015-08-18 15:37:00 +0200 |
commit | 9953f02b27d8c441d2891cc352f2490c94844ffa (patch) | |
tree | 52d9d3a74cc6da58a12eae0fe8862f2761ce41ad /config/asterisk/asterisk_calls.php | |
parent | 43092f4479e905fd0235fc093441f4e118f3cc70 (diff) | |
download | pfsense-packages-9953f02b27d8c441d2891cc352f2490c94844ffa.tar.gz pfsense-packages-9953f02b27d8c441d2891cc352f2490c94844ffa.tar.bz2 pfsense-packages-9953f02b27d8c441d2891cc352f2490c94844ffa.zip |
asterisk - code style cleanup
- Fix copyright header
- Code style and indentation fixes
- Rename the rc script to asterisk.sh; use write_rcfile() to create the script, instead of the messy preg_replace() stuff. This also should hopefully fix Bug #4717 for some users.
- Use stop_service()/restart_service() instead of calling the script via exec()
- Stop the service and actually remove the rc script on uninstall, instead of making it non-executable
Diffstat (limited to 'config/asterisk/asterisk_calls.php')
0 files changed, 0 insertions, 0 deletions