base-files: force preinit to use busybox mount (#6797)
authorJo-Philipp Wich <jow@openwrt.org>
Sat, 13 Mar 2010 02:59:05 +0000 (02:59 +0000)
committerJo-Philipp Wich <jow@openwrt.org>
Sat, 13 Mar 2010 02:59:05 +0000 (02:59 +0000)
SVN-Revision: 20176

package/base-files/files/lib/functions/boot.sh

index 8c8fa52d79d92c6706e1c98f8aa376304b0239e6..96c1c59db2e779c47dfbf887855c6bbeb56f49fa 100644 (file)
@@ -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"