make comparison for detecting whether aprox is running in init script a little dumber in attempt to make it work.