mdev: add support to run as daemon
[oweals/busybox.git] / util-linux / nologin.c
1 //config:config NOLOGIN
2 //config:       bool "nologin"
3 //config:       default y
4 //config:       depends on FEATURE_SH_EMBEDDED_SCRIPTS
5 //config:       help
6 //config:       Politely refuse a login
7 //config:
8 //config:config NOLOGIN_DEPENDENCIES
9 //config:       bool "Enable dependencies for nologin"
10 //config:       default y
11 //config:       depends on NOLOGIN
12 //config:       select CAT
13 //config:       select ECHO
14 //config:       select SLEEP
15 //config:       help
16 //config:       nologin is implemented as a shell script. It requires the
17 //config:       following in the runtime environment:
18 //config:               cat echo sleep
19 //config:       If you know these will be available externally you can
20 //config:       disable this option.
21
22 //applet:IF_NOLOGIN(APPLET_SCRIPTED(nologin, scripted, BB_DIR_USR_SBIN, BB_SUID_DROP, nologin))
23
24 //usage:#define nologin_trivial_usage
25 //usage:        ""
26 //usage:#define nologin_full_usage "\n\n"
27 //usage:        "Politely refuse a login"