base-files: force preinit to use busybox mount (#6797)
[openwrt/staging/florian.git] / 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"