Move /etc/conf.d/rc to /etc/rc.conf.
Lowercase all configurable variables, non configurations remain uppercase. Replace rc_env_bool with rc_yesno. Split localmount info procfs (Linux) and dumpon, savecore (BSD)
This commit is contained in:
@@ -82,7 +82,7 @@ static void print_service (char *service)
|
||||
} else
|
||||
snprintf (status, sizeof (status), " stopped ");
|
||||
|
||||
if (isatty (fileno (stdout)) && ! rc_env_bool ("RC_NOCOLOR"))
|
||||
if (isatty (fileno (stdout)) && ! rc_yesno (getenv ("RC_NOCOLOR")))
|
||||
printf ("\n");
|
||||
ebracket (cols, color, status);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user