touch ups
This commit is contained in:
parent
6aadda4965
commit
f077f179ed
5
src/rc.c
5
src/rc.c
@ -978,7 +978,7 @@ int main (int argc, char **argv)
|
|||||||
run_script (INITEARLYSH);
|
run_script (INITEARLYSH);
|
||||||
|
|
||||||
uname (&uts);
|
uname (&uts);
|
||||||
printf (" %sOpenRC %s" VERSION "%s is starting up\n",
|
printf ("\n %sOpenRC %s" VERSION "%s is starting up\n",
|
||||||
ecolor (ECOLOR_GOOD), ecolor (ECOLOR_BRACKET),
|
ecolor (ECOLOR_GOOD), ecolor (ECOLOR_BRACKET),
|
||||||
ecolor (ECOLOR_NORMAL));
|
ecolor (ECOLOR_NORMAL));
|
||||||
|
|
||||||
@ -1186,7 +1186,8 @@ int main (int argc, char **argv)
|
|||||||
i = (strlen ("moused.") + strlen (d->d_name) + 1);
|
i = (strlen ("moused.") + strlen (d->d_name) + 1);
|
||||||
tmp = xmalloc (sizeof (char) * i);
|
tmp = xmalloc (sizeof (char) * i);
|
||||||
snprintf (tmp, i, "moused.%s", d->d_name);
|
snprintf (tmp, i, "moused.%s", d->d_name);
|
||||||
if (rc_service_exists (tmp) && rc_service_plugable (tmp))
|
if (rc_service_exists (tmp) &&
|
||||||
|
rc_service_plugable (tmp))
|
||||||
rc_service_mark (tmp, RC_SERVICE_COLDPLUGGED);
|
rc_service_mark (tmp, RC_SERVICE_COLDPLUGGED);
|
||||||
CHAR_FREE (tmp);
|
CHAR_FREE (tmp);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user