From 1968fb8da3a759dfd31ceb1e96c6b6ac3bdbc3f3 Mon Sep 17 00:00:00 2001
From: Jo-Philipp Wich <jow@openwrt.org>
Date: Sat, 13 Mar 2010 02:59:05 +0000
Subject: [PATCH] base-files: force preinit to use busybox mount (#6797)

SVN-Revision: 20176
---
 package/base-files/files/lib/functions/boot.sh | 4 ++++
 1 file changed, 4 insertions(+)

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"
-- 
GitLab