I don't know a way to test the version of the killproc() function.
Something ugly like the following should work.
Code:
--------------------
if [ `grep -c 'Usage: killproc.*-d delay' /etc/init.d/functions` -ge 1 ];
then
killproc -d 6 $SLIMSERVER_BIN
else
killproc $SLIMSERVER_BIN
fi
--------------------
I'll check it in this way later today unless someone has a more elegant
solution.
--
Fletch
------------------------------------------------------------------------
Fletch's Profile: http://forums.slimdevices.com/member.php?userid=529
View this thread: http://forums.slimdevices.com/showthread.php?t=39841
_______________________________________________
beta mailing list
[email protected]
http://lists.slimdevices.com/lists/listinfo/beta