projects
/
openwrt
/
svn-archive
/
archive.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
[package] base-files: preinit: get rid of /dev/null redirections and use grep -q...
[openwrt/svn-archive/archive.git]
/
package
/
base-files
/
files
/
lib
/
preinit
/
30_device_fs_daemons
diff --git
a/package/base-files/files/lib/preinit/30_device_fs_daemons
b/package/base-files/files/lib/preinit/30_device_fs_daemons
index 5a3aaf3d6477c07a0db59ca5601d0ae3fa4a081e..5b3e2ad00021c30de3291a79bf22e367eb807a41 100644
(file)
--- a/
package/base-files/files/lib/preinit/30_device_fs_daemons
+++ b/
package/base-files/files/lib/preinit/30_device_fs_daemons
@@
-23,7
+23,7
@@
init_udev() {
init_device_fs() {
HOTPLUG=
- if grep
devfs /proc/filesystems > /dev/null
; then
+ if grep
-q devfs /proc/filesystems
; then
init_devfs
elif [ -x /sbin/hotplug2 ]; then
init_hotplug2