Patch from Shaun Jackman to set environment variable RUNLEVEL equal to