projects
/
openwrt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
ar71xx: merge AR71XX_IRQ_CPU_{PCI,WMAC} into AR71XX_IRQ_CPU_IP2
[openwrt.git]
/
package
/
base-files
/
files
/
lib
/
functions
/
boot.sh
diff --git
a/package/base-files/files/lib/functions/boot.sh
b/package/base-files/files/lib/functions/boot.sh
index
46b4613
..
96c1c59
100644
(file)
--- a/
package/base-files/files/lib/functions/boot.sh
+++ b/
package/base-files/files/lib/functions/boot.sh
@@
-2,6
+2,10
@@
# Copyright (C) 2006-2010 OpenWrt.org
# Copyright (C) 2010 Vertical Communications
# Copyright (C) 2006-2010 OpenWrt.org
# Copyright (C) 2010 Vertical Communications
+mount() {
+ /bin/busybox mount "$@"
+}
+
boot_hook_add() {
local hook="${1}_hook"
local value="$2"
boot_hook_add() {
local hook="${1}_hook"
local value="$2"
@@
-66,6
+70,7
@@
pivot() { # <new_root> <old_root>
mount -o move $2/tmp /tmp
mount -o move $2/sys /sys 2>&-
mount -o move $2/jffs /jffs 2>&-
mount -o move $2/tmp /tmp
mount -o move $2/sys /sys 2>&-
mount -o move $2/jffs /jffs 2>&-
+ mount -o move $2/overlay /overlay 2>&-
return 0
}
}
return 0
}
}
This page took
0.024437 seconds
and
4
git commands to generate.