projects
/
openwrt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
package/modules: enable ECHI/OHCI for RT3883
[openwrt.git]
/
package
/
base-files
/
files
/
lib
/
preinit
/
20_device_fs_mount
diff --git
a/package/base-files/files/lib/preinit/20_device_fs_mount
b/package/base-files/files/lib/preinit/20_device_fs_mount
index
6ba7ccc
..
832b1cf
100644
(file)
--- a/
package/base-files/files/lib/preinit/20_device_fs_mount
+++ b/
package/base-files/files/lib/preinit/20_device_fs_mount
@@
-3,13
+3,10
@@
# Copyright (C) 2010 Vertical Communications
do_move_devtmpfs() {
# Copyright (C) 2010 Vertical Communications
do_move_devtmpfs() {
- foo="`grep devtmpfs /proc/mounts`"
- x=${foo#* }
- x=${x%% *}
+ local mnt="$(grep devtmpfs /proc/mounts)"
+ mnt="${mnt#* }"; mnt="${mnt%% *}"
- if [ "$x" != "/dev" ] ; then
- mount -o move "$x" /dev
- fi
+ [ "$mnt" = "/dev" ] || mount -o move "$mnt" /dev
}
do_mount_devfs() {
}
do_mount_devfs() {
@@
-17,7
+14,7
@@
do_mount_devfs() {
}
do_mount_hotplug() {
}
do_mount_hotplug() {
- mount -t tmpfs tmpfs /dev -o size=512K
+ mount -t tmpfs tmpfs /dev -o
mode=0755,
size=512K
}
do_mount_udev() {
}
do_mount_udev() {
This page took
0.028299 seconds
and
4
git commands to generate.