aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJo-Philipp Wich <jow@openwrt.org>2010-03-13 02:59:05 +0000
committerJo-Philipp Wich <jow@openwrt.org>2010-03-13 02:59:05 +0000
commit1968fb8da3a759dfd31ceb1e96c6b6ac3bdbc3f3 (patch)
treeb3708c9eac6a1f5c847d725abf30183fcfd047f8
parent32be7f760577d6781ad882b5f150a7963a197c7c (diff)
downloadupstream-1968fb8da3a759dfd31ceb1e96c6b6ac3bdbc3f3.tar.gz
upstream-1968fb8da3a759dfd31ceb1e96c6b6ac3bdbc3f3.tar.bz2
upstream-1968fb8da3a759dfd31ceb1e96c6b6ac3bdbc3f3.zip
base-files: force preinit to use busybox mount (#6797)
SVN-Revision: 20176
-rw-r--r--package/base-files/files/lib/functions/boot.sh4
1 files changed, 4 insertions, 0 deletions
diff --git a/package/base-files/files/lib/functions/boot.sh b/package/base-files/files/lib/functions/boot.sh
index 8c8fa52d79..96c1c59db2 100644
--- 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
+mount() {
+ /bin/busybox mount "$@"
+}
+
boot_hook_add() {
local hook="${1}_hook"
local value="$2"