/sbin/photplug: Fixes for old kernel 2.6.30.y
/sbin/init: Cleanups and simplify checks for /proc and /sys .