mirror of
https://github.com/Telecominfraproject/OpenNetworkLinux.git
synced 2026-01-27 18:22:13 +00:00
If any rc.boot scripts are present in mounted partitions they will be executed at boot time.
This commit is contained in:
15
packages/base/all/boot.d/src/52.rc.boot
Executable file
15
packages/base/all/boot.d/src/52.rc.boot
Executable 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
|
||||
Reference in New Issue
Block a user