Fix for search provider config page errors.
Fixed restart/updating issues for synology/qnap devices, may also resolve other OS related simular issues.