If any rc.boot scripts are present in mounted partitions they will be executed at boot time.

This commit is contained in:
Jeffrey Townsend
2016-07-05 22:46:06 +00:00
parent 2d8f93201e
commit 4918fee87b

View File

@@ -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