Browse Source

base-files: force preinit to use busybox mount (#6797)

SVN-Revision: 20176
Jo-Philipp Wich 16 years ago
parent
commit
1968fb8da3
1 changed files with 4 additions and 0 deletions
  1. 4 0
      package/base-files/files/lib/functions/boot.sh

+ 4 - 0
package/base-files/files/lib/functions/boot.sh

@@ -2,6 +2,10 @@
 # Copyright (C) 2006-2010 OpenWrt.org
 # Copyright (C) 2006-2010 OpenWrt.org
 # Copyright (C) 2010 Vertical Communications
 # Copyright (C) 2010 Vertical Communications
 
 
+mount() {
+	/bin/busybox mount "$@"
+}
+
 boot_hook_add() {
 boot_hook_add() {
     	local hook="${1}_hook"
     	local hook="${1}_hook"
 	local value="$2"
 	local value="$2"