- document -f

This commit is contained in:
Bernhard Reutner-Fischer 2008-07-21 11:30:51 +00:00
parent 0328b40aee
commit ef9876a40e

View File

@ -66,12 +66,12 @@ RB_AUTOBOOT
#endif /* !ENABLE_FEATURE_WTMP */ #endif /* !ENABLE_FEATURE_WTMP */
if (flags & 8) /* -w */ if (flags & 8) /* -w */
return 0; return EXIT_SUCCESS;
if (!(flags & 2)) /* no -n */ if (!(flags & 2)) /* no -n */
sync(); sync();
/* Perform action. */ /* Perform action. */
if (ENABLE_INIT && !(flags & 4)) { if (ENABLE_INIT && !(flags & 4)) { /* no -f */
if (ENABLE_FEATURE_INITRD) { if (ENABLE_FEATURE_INITRD) {
pid_t *pidlist = find_pid_by_name("linuxrc"); pid_t *pidlist = find_pid_by_name("linuxrc");
if (pidlist[0] > 0) if (pidlist[0] > 0)