Installed 11/2 nightly, stop function works OK:

/etc/rc.d/init.d/slimserver contains:

stop() {
        echo -n "Shutting down SqueezeCenter: "
        # Support old versions of RHEL and still fix bug 5620
        KILLPROC_ARGS=""
        if [ `grep -c 'Usage: killproc.*-d delay' /etc/init.d/functions` -ge 1
]; then
                KILLPROC_ARGS="-d 6"
        fi
        killproc $KILLPROC_ARGS $SLIMSERVER_BIN
        RETVAL=$?
        echo
        [ $RETVAL -eq 0 ] && rm -f /var/lock/subsys/slimserver
        return $RETVAL
}

However, the 11/2 nightly will not load the web interface - but that's
another thread.

Thanks for the fix guys.


-- 
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