They generally fall into two categories, namely BSD and SYSV.
- Ubuntu, RedHat, SuSE, Debian, which are the most commonly used distributions, all use SYSV.
- Slackware, which we use for Amethyst, uses BSD.
Without making things too complicated, you can simply add the lines below to the "local" startup file.
- Code: Select all
# Start TNG
export LC_ALL=en_ZA
cd /opt/datatex/tng
./tng -D
The "local" startup file can be found in the following locations:
- Slackware - /etc/rc.d/rc.local
CentOS 4.3 - /etc/rc.d/rc.local
Ubuntu - /etc/rc.local
Suse 8.0 - /etc/init.d/boot.final
RedHat will be similar to CentOS, and
Debian will be similar to Ubuntu.
See also: Running TNG on the AsteriskNow distribution