[package] base-files:
[openwrt.git] / package / base-files / files / sbin / mount_root
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
7 preinit_essential_hook=
8 preinit_main_hook=
9 failsafe_hook=
10 initramfs_hook=
11 preinit_mount_root=
12
13 . /lib/functions/boot.sh
14
15 for pi_source_file in /lib/preinit/*; do
16 . $pi_source_file
17 done
18
19 # Override function that doesn't apply to use of mount_root as a command rather
20 # than as part of preinit
21
22 preinit_echo() {
23 echo "$@"
24 }
25
26 boot_run_hook preinit_mount_root
This page took 0.045786 seconds and 5 git commands to generate.