diff options
Diffstat (limited to 'miscutils/devfsd.c')
-rw-r--r-- | miscutils/devfsd.c | 45 |
1 files changed, 22 insertions, 23 deletions
diff --git a/miscutils/devfsd.c b/miscutils/devfsd.c index 334f1071b..814714f53 100644 --- a/miscutils/devfsd.c +++ b/miscutils/devfsd.c | |||
@@ -59,56 +59,55 @@ | |||
59 | //config: select PLATFORM_LINUX | 59 | //config: select PLATFORM_LINUX |
60 | //config: select FEATURE_SYSLOG | 60 | //config: select FEATURE_SYSLOG |
61 | //config: help | 61 | //config: help |
62 | //config: This is deprecated and should NOT be used anymore. | 62 | //config: This is deprecated and should NOT be used anymore. |
63 | //config: Use linux >= 2.6 (optionally with hotplug) and mdev instead! | 63 | //config: Use linux >= 2.6 (optionally with hotplug) and mdev instead! |
64 | //config: See docs/mdev.txt for detailed instructions on how to use mdev | 64 | //config: See docs/mdev.txt for detailed instructions on how to use mdev |
65 | //config: instead. | 65 | //config: instead. |
66 | //config: | 66 | //config: |
67 | //config: Provides compatibility with old device names on a devfs systems. | 67 | //config: Provides compatibility with old device names on a devfs systems. |
68 | //config: You should set it to true if you have devfs enabled. | 68 | //config: You should set it to true if you have devfs enabled. |
69 | //config: The following keywords in devsfd.conf are supported: | 69 | //config: The following keywords in devsfd.conf are supported: |
70 | //config: "CLEAR_CONFIG", "INCLUDE", "OPTIONAL_INCLUDE", "RESTORE", | 70 | //config: "CLEAR_CONFIG", "INCLUDE", "OPTIONAL_INCLUDE", "RESTORE", |
71 | //config: "PERMISSIONS", "EXECUTE", "COPY", "IGNORE", | 71 | //config: "PERMISSIONS", "EXECUTE", "COPY", "IGNORE", |
72 | //config: "MKOLDCOMPAT", "MKNEWCOMPAT","RMOLDCOMPAT", "RMNEWCOMPAT". | 72 | //config: "MKOLDCOMPAT", "MKNEWCOMPAT","RMOLDCOMPAT", "RMNEWCOMPAT". |
73 | //config: | 73 | //config: |
74 | //config: But only if they are written UPPERCASE!!!!!!!! | 74 | //config: But only if they are written UPPERCASE!!!!!!!! |
75 | //config: | 75 | //config: |
76 | //config:config DEVFSD_MODLOAD | 76 | //config:config DEVFSD_MODLOAD |
77 | //config: bool "Adds support for MODLOAD keyword in devsfd.conf" | 77 | //config: bool "Adds support for MODLOAD keyword in devsfd.conf" |
78 | //config: default y | 78 | //config: default y |
79 | //config: depends on DEVFSD | 79 | //config: depends on DEVFSD |
80 | //config: help | 80 | //config: help |
81 | //config: This actually doesn't work with busybox modutils but needs | 81 | //config: This actually doesn't work with busybox modutils but needs |
82 | //config: the external modutils. | 82 | //config: the external modutils. |
83 | //config: | 83 | //config: |
84 | //config:config DEVFSD_FG_NP | 84 | //config:config DEVFSD_FG_NP |
85 | //config: bool "Enable the -fg and -np options" | 85 | //config: bool "Enable the -fg and -np options" |
86 | //config: default y | 86 | //config: default y |
87 | //config: depends on DEVFSD | 87 | //config: depends on DEVFSD |
88 | //config: help | 88 | //config: help |
89 | //config: -fg Run the daemon in the foreground. | 89 | //config: -fg Run the daemon in the foreground. |
90 | //config: -np Exit after parsing the configuration file. | 90 | //config: -np Exit after parsing config. Do not poll for events. |
91 | //config: Do not poll for events. | ||
92 | //config: | 91 | //config: |
93 | //config:config DEVFSD_VERBOSE | 92 | //config:config DEVFSD_VERBOSE |
94 | //config: bool "Increases logging (and size)" | 93 | //config: bool "Increases logging (and size)" |
95 | //config: default y | 94 | //config: default y |
96 | //config: depends on DEVFSD | 95 | //config: depends on DEVFSD |
97 | //config: help | 96 | //config: help |
98 | //config: Increases logging to stderr or syslog. | 97 | //config: Increases logging to stderr or syslog. |
99 | //config: | 98 | //config: |
100 | //config:config FEATURE_DEVFS | 99 | //config:config FEATURE_DEVFS |
101 | //config: bool "Use devfs names for all devices (obsolete)" | 100 | //config: bool "Use devfs names for all devices (obsolete)" |
102 | //config: default n | 101 | //config: default n |
103 | //config: select PLATFORM_LINUX | 102 | //config: select PLATFORM_LINUX |
104 | //config: help | 103 | //config: help |
105 | //config: This is obsolete and should NOT be used anymore. | 104 | //config: This is obsolete and should NOT be used anymore. |
106 | //config: Use linux >= 2.6 (optionally with hotplug) and mdev instead! | 105 | //config: Use linux >= 2.6 (optionally with hotplug) and mdev instead! |
107 | //config: | 106 | //config: |
108 | //config: For legacy systems -- if there is no way around devfsd -- this | 107 | //config: For legacy systems -- if there is no way around devfsd -- this |
109 | //config: tells busybox to look for names like /dev/loop/0 instead of | 108 | //config: tells busybox to look for names like /dev/loop/0 instead of |
110 | //config: /dev/loop0. If your /dev directory has normal names instead of | 109 | //config: /dev/loop0. If your /dev directory has normal names instead of |
111 | //config: devfs names, you don't want this. | 110 | //config: devfs names, you don't want this. |
112 | 111 | ||
113 | //applet:IF_DEVFSD(APPLET(devfsd, BB_DIR_SBIN, BB_SUID_DROP)) | 112 | //applet:IF_DEVFSD(APPLET(devfsd, BB_DIR_SBIN, BB_SUID_DROP)) |
114 | 113 | ||