Here's the header of the file that's part of the slimserver rpm. What your after already exists !
#!/bin/bash # # slimserver.init This shell script takes care of starting and stopping # the Slim streaming MP3 server. # # chkconfig: 345 80 30 # description: Slim streaming MP3 server # processname: slimserver.pl # config: /etc/slimserver.conf # Source function library. . /etc/rc.d/init.d/functions # Source networking configuration. . /etc/sysconfig/network if [ -f /etc/sysconfig/slimserver ]; then . /etc/sysconfig/slimserver fi -- matmbl ------------------------------------------------------------------------ matmbl's Profile: http://forums.slimdevices.com/member.php?userid=5049 View this thread: http://forums.slimdevices.com/showthread.php?t=22975 _______________________________________________ unix mailing list [email protected] http://lists.slimdevices.com/lists/listinfo/unix
