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