#!/bin/sh # shoutcast.sh ; easy startup script. #put this in /usr/bin or Or better, see start/kill #script as they need to match this. #chmod 655 shoutcast.sh case "$1" in 'start') echo -n "shoutcast start" cd /usr/bin && ./sc_serv /etc/shoutcast/sc_serv.conf & ;; 'stop') # ya! ugly way to kill, but it kills it! echo -n "shoutcast stop" killall sc_serv ;; *) echo "Usage: $0 { start | stop }" ;; esac exit 0 # END , no duh