aboutsummaryrefslogtreecommitdiffstats
path: root/package/base-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
commit26f2c148fa0c968c7994a979046dacf2a7c554a8 (patch)
treebd5c95f28b36033185d919757ac41526adc35c1b /package/base-files
parent87028083c1841ef0b223a7a7fa2169650dadcdcb (diff)
downloadupstream-26f2c148fa0c968c7994a979046dacf2a7c554a8.tar.gz
upstream-26f2c148fa0c968c7994a979046dacf2a7c554a8.tar.bz2
upstream-26f2c148fa0c968c7994a979046dacf2a7c554a8.zip
[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')
-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"