1
0
mirror of git://projects.qi-hardware.com/openwrt-xburst.git synced 2024-12-03 03:36:16 +02:00
openwrt-xburst/package/base-files/files/lib/preinit/80_mount_root
florian 41e7e722e1 [package] base-files: use a natural mount syntax
Busybox built against musl-libc will choke on these otherwise, besides that
it is more natural to use the filesystem type, then options, then name, then
mountpoint.

Signed-off-by: Florian Fainelli <florian@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34308 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-11-23 20:02:02 +00:00

11 lines
189 B
Bash

#!/bin/sh
# Copyright (C) 2006 OpenWrt.org
# Copyright (C) 2010 Vertical Communications
do_mount_root() {
boot_run_hook preinit_mount_root
}
boot_hook_add preinit_main do_mount_root