I've amended /etc/rc.d/init.d/slimserver to

stop() {
        echo -n "Shutting down SqueezeCenter: "
        if [ `grep -c 'Usage:  killproc.*-d delay' /etc/init.d/functions` -ge
1 ]; then
                killproc -d 6 $SLIMSERVER_BIN
        else     
                killproc $SLIMSERVER_BIN
        fi
        RETVAL=$?
        echo
        [ $RETVAL -eq 0 ] && rm -f /var/lock/subsys/slimserver
        return $RETVAL
}

and it works OK.  I'll check the latest rpm when available.

BTW could the script check /etc/release, which has a reference to the
Clark Connect release rather than CentOS.


-- 
Ramage

T5500 1.6GHz, Slimserver 6.5.5 - 13599 - Windows Vista, Alien 1.06
P4 2.6GHz, SqueezeCentre Version: 7.0 - 14284 - Windows XP, Alien 2.0b
P2 266MHz, Linux ClarkConnect 4.1.sp1, SlimServer Version: 7 - 14284,
Alien 2.0b, perl 5.8.5
NSLU2 Unslung 6.8b SlimServer Version: 6.3.1 - 8476 - Linux, No Alien
------------------------------------------------------------------------
Ramage's Profile: http://forums.slimdevices.com/member.php?userid=5343
View this thread: http://forums.slimdevices.com/showthread.php?t=39841

_______________________________________________
beta mailing list
[email protected]
http://lists.slimdevices.com/lists/listinfo/beta

Reply via email to