summaryrefslogtreecommitdiff
path: root/package/base-files/files/lib/preinit/80_mount_root
blob: 9a99ee91097129205e7cee966ce4bf2ecd0d7c72 (plain)
1
2
3
4
5
6
7
8
9
#!/bin/sh
# Copyright (C) 2006 OpenWrt.org
# Copyright (C) 2010 Vertical Communications

do_mount_root() {
    boot_run_hook preinit_mount_root
}

[ "$INITRAMFS" = "1" ] || boot_hook_add preinit_main do_mount_root