in the directory /etrc/rc.d is the file rc.local
I have modified its contents as below
Code: Select all
#this file called from rc.sysinit
#you can edit this file
#When firewall is installed, will append lines to this file...
/usr/etc/ice
/usr/etc/dark
/usr/etc/sound
ice
dark
sound
Ice is as below:
Code: Select all
#!/bin/sh
icecast -c /etc/icecast.xml &
Code: Select all
#!/bin/sh
darkice -c /etc/darkice.cfgl &
sound is as below:
Code: Select all
#!/bin/sh
rsd &
It all seems to run when the computer boots up
but checking with top shows only icecast and rsd as active
darkice is not
if I then run
/usr/etc/dark
it will appear in top.
I know that normally, manual entry of /usr/etc/ice will return text to the screen, something like changed userid to 65534, and I need to press the enter key before I get the # symbol back on screen
Similar so does /usr/etc/dark return text to console.
So not sure if I have to enter more lines of something into rc.local or if it is a case of icecast is not up and running correctly when darkice is called.
Can anyone tell me where I am going wrong.
Cheers
Adrian