runlevel.patch - cleanup, y2r now supports nested functions