Startup script bug (version 1.4.34)

All the startup scripts located in contrib/init.d appear to have the same bug. In the start section they check to see if asterisk is running by executing asterisk -rx 'core show version' and then checking if the first 8 characters matches the word “Asterisk”. Since asterisk colorizes its display the first couple of characters will be control characters to set the colour so this test will always fail even if asterisk is running. This can be fixed by adding the “-n” flag to the command to prevent the colour control codes being output. The command should be asterisk -nrx 'core show version'