[package] 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 8c8fa52..96c1c59 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"