I have seen that stopservice function is looking for "running", while
gentoo init.d scripts report "started". Would be nice if it would look
for both words:
stopservice()
{
if service "$1" status 2>/dev/null | grep -c -q running; then
touch "${STORAGEDIR}/service:$1"
service "$1" stop
fi
}
I have tried to patch myself but I have been unable to do so :'(, please
let me know the proper solution for learning a bit
Thanks a lot
_______________________________________________
Pm-utils mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/pm-utils