1#!/bin/sh 2# Copyright (C) 2006-2010 OpenWrt.org 3# Copyright (C) 2010 Vertical Communications 4 5# Initialize hook variables et by pulling in from preinit 6 7preinit_essential_hook= 8preinit_main_hook= 9failsafe_hook= 10initramfs_hook= 11preinit_mount_root= 12 13. /lib/functions/boot.sh 14 15for pi_source_file in /lib/preinit/*; do 16 . $pi_source_file 17done 18 19# Override function that doesn't apply to use of mount_root as a command rather 20# than as part of preinit 21 22preinit_echo() { 23 echo "$@" 24} 25 26boot_run_hook preinit_mount_root 27