summaryrefslogtreecommitdiff
path: root/package/base-files/files
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 /package/base-files/files
parent32be7f760577d6781ad882b5f150a7963a197c7c (diff)
downloadmtk-20170518-1968fb8da3a759dfd31ceb1e96c6b6ac3bdbc3f3.zip
mtk-20170518-1968fb8da3a759dfd31ceb1e96c6b6ac3bdbc3f3.tar.gz
mtk-20170518-1968fb8da3a759dfd31ceb1e96c6b6ac3bdbc3f3.tar.bz2
base-files: force preinit to use busybox mount (#6797)
SVN-Revision: 20176
Diffstat (limited to 'package/base-files/files')
-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 8c8fa52..96c1c59 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"