70_initramfs_test 243 B

12345678910111213
  1. #!/bin/sh
  2. # Copyright (C) 2006 OpenWrt.org
  3. # Copyright (C) 2010 Vertical Communications
  4. initramfs_test() {
  5. if [ -n "$INITRAMFS" ]; then
  6. boot_run_hook initramfs
  7. preinit_ip_deconfig
  8. break
  9. fi
  10. }
  11. boot_hook_add preinit_main initramfs_test