From 4918fee87beb87b3d1f594817d33a9735a99103b Mon Sep 17 00:00:00 2001 From: Jeffrey Townsend Date: Tue, 5 Jul 2016 22:46:06 +0000 Subject: [PATCH] If any rc.boot scripts are present in mounted partitions they will be executed at boot time. --- packages/base/all/boot.d/src/52.rc.boot | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100755 packages/base/all/boot.d/src/52.rc.boot diff --git a/packages/base/all/boot.d/src/52.rc.boot b/packages/base/all/boot.d/src/52.rc.boot new file mode 100755 index 00000000..ffb8dc89 --- /dev/null +++ b/packages/base/all/boot.d/src/52.rc.boot @@ -0,0 +1,15 @@ +#!/bin/sh +# +############################################################ +# +# If any rc.boot scripts are present in any mounted +# partition they will be executed at boot time. +# +############################################################ +for dir in boot config images data; do + script=/mnt/onl/$dir/rc.boot + if [ -x "$script" ]; then + echo "Executing $script..." + $script + fi +done