Hi, I have installed mpd (music player daemon) and wanted to check if what I'm planning to do is ok.
Now, the mpd package has put /etc/rc.d/rc.mpd in for me, but just making it executable was not enough to make it start.
Having a look through the scripts, this is my solution:
Add this to rc.M
Code:
if [ -x /etc/rc.d/rc.mpd ]; then
/etc/rc.d/rc.mpd start
fi
Add this to rc.0
Code:
if [ -x /etc/rc.d/rc.mpd ]; then
/etc/rc.d/rc.mpd stop
fi
Is this the best way of doing what I want?