View Single Post
Posts: 1,101 | Thanked: 1,185 times | Joined on Aug 2008 @ Spain
#615
Originally Posted by lma View Post
Cool :-) Are you going to push this to extras-devel?
Yes, I should read the extras-devel procedure and start pushing things once and for all.
A minor nitpick: I think you meant to use $MMAX & $PID in the main line, ie

Code:
KILL=$(busybox awk -v MMAX="$MMAX" '($1 == "VmSize:") {if ($2>MMAX) print 1 }' \
/proc/$PID/status) 2>/dev/null
upps! Thanks! Uploaded a fixed package in the previoux post
While we're at it, I wonder if there's some way to detect when /var/lib/gps/nvd_data has become stale and get rid of it as well...
Oh, I'm sure there is, but except for a simple sanity check, since it is yet another propietary "zooper zeecret" file format and nokia won't open it, we won't be able to do it without a very significant reverse engineering effort. At the very least, we need a corrupt nvd_data to see if it is visibly broken.
 

The Following 3 Users Say Thank You to maacruz For This Useful Post: