asterisk-13.x: change some default file locations
authorSebastian Kemper <sebastian_ml@gmx.net>
Tue, 16 Jan 2018 19:03:16 +0000 (20:03 +0100)
committerSebastian Kemper <sebastian_ml@gmx.net>
Tue, 16 Jan 2018 19:03:19 +0000 (20:03 +0100)
commita430a3a59ba309c853ca9bf18b6b857d863240c0
treea596a07deb6f71f05a7768fed40803f307fc221e
parent9cc45ac007ffbf66b109f4c9febee42dd4c0d19c
asterisk-13.x: change some default file locations

- Set data dir to /usr/share/asterisk and use default locations for
  everything else.
- This is more in line with FHS. Database files are now written to tmpfs
  (/var is mounted there). This prevents the rootfs from filling up. It
  also prevents the flash to degrade during constant database rewriting.
- As the data dir changes, so does the location of the sound files. This
  commit also takes care of that.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
net/asterisk-13.x/Makefile
net/asterisk-13.x/files/asterisk.init