summaryrefslogtreecommitdiffstats
path: root/import-layers/yocto-poky/meta/recipes-core/initrdscripts/initramfs-framework/exec
diff options
context:
space:
mode:
Diffstat (limited to 'import-layers/yocto-poky/meta/recipes-core/initrdscripts/initramfs-framework/exec')
-rw-r--r--import-layers/yocto-poky/meta/recipes-core/initrdscripts/initramfs-framework/exec29
1 files changed, 0 insertions, 29 deletions
diff --git a/import-layers/yocto-poky/meta/recipes-core/initrdscripts/initramfs-framework/exec b/import-layers/yocto-poky/meta/recipes-core/initrdscripts/initramfs-framework/exec
deleted file mode 100644
index a8e2432bb..000000000
--- a/import-layers/yocto-poky/meta/recipes-core/initrdscripts/initramfs-framework/exec
+++ /dev/null
@@ -1,29 +0,0 @@
-#!/bin/sh
-# Copyright (C) 2017 O.S. Systems Software LTDA.
-# Licensed on MIT
-
-EXEC_DIR=/exec.d # place to look for modules
-
-exec_enabled() {
- return 0
-}
-
-exec_run() {
- if [ ! -d $EXEC_DIR ]; then
- msg "No contents to exec in $EXEC_DIR. Starting shell ..."
- sh
- fi
-
- # Load and run modules
- for m in $EXEC_DIR/*; do
- # Skip backup files
- if [ "`echo $m | sed -e 's/\~$//'`" != "$m" ]; then
- continue
- fi
-
- debug "Starting $m"
-
- # process module
- ./$m
- done
-}
OpenPOWER on IntegriCloud