mirror of
https://github.com/sheumann/hush.git
synced 2024-12-27 16:31:24 +00:00
- document -f
This commit is contained in:
parent
0328b40aee
commit
ef9876a40e
@ -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)
|
||||||
|
Loading…
Reference in New Issue
Block a user