Add rc-service and update all softlevel refs to runlevel.

This commit is contained in:
Roy Marples
2008-03-19 17:11:50 +00:00
parent 089caec283
commit d9ec62b22a
14 changed files with 96 additions and 28 deletions

View File

@ -224,7 +224,7 @@ void env_config(void)
setenv("RC_RUNLEVEL", e, 1);
free(e);
if ((fp = fopen(RC_KSOFTLEVEL, "r"))) {
if ((fp = fopen(RC_KRUNLEVEL, "r"))) {
memset(buffer, 0, sizeof (buffer));
if (fgets(buffer, sizeof (buffer), fp)) {
l = strlen (buffer) - 1;