From: Jo-Philipp Wich Date: Sat, 13 Mar 2010 02:59:05 +0000 (+0000) Subject: base-files: force preinit to use busybox mount (#6797) X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=1968fb8da3a759dfd31ceb1e96c6b6ac3bdbc3f3;p=openwrt%2Fstaging%2Fnbd.git base-files: force preinit to use busybox mount (#6797) SVN-Revision: 20176 --- 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"