summaryrefslogtreecommitdiff
path: root/package/base-files/files/lib
diff options
context:
space:
mode:
authorjow <jow@3c298f89-4303-0410-b956-a3cf2f4a3e73>2010-03-13 02:59:05 +0000
committerjow <jow@3c298f89-4303-0410-b956-a3cf2f4a3e73>2010-03-13 02:59:05 +0000
commita1c8970a2f8d44b72bb7aaf20db2336ffb6e5dcc (patch)
treebd5c95f28b36033185d919757ac41526adc35c1b /package/base-files/files/lib
parent86a0b33fa12b8325d670b193bf5378bf73b9c571 (diff)
[package] base-files: force preinit to use busybox mount (#6797)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20176 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/base-files/files/lib')
-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"