aboutsummaryrefslogtreecommitdiff
path: root/rc.boot
diff options
context:
space:
mode:
Diffstat (limited to 'rc.boot')
-rwxr-xr-xrc.boot8
1 files changed, 5 insertions, 3 deletions
diff --git a/rc.boot b/rc.boot
index 45c8d75..92dbf1b 100755
--- a/rc.boot
+++ b/rc.boot
@@ -154,9 +154,11 @@ out "Loading sysctl settings..."; {
done
}
-out "Running boot hooks..."; {
- run_hooks /etc/init/*.boot
-}
+out "Running boot hooks..."
+set +f
+for file in /etc/init/*.boot ; do
+ [ -f "$file" ] && . "$file"
+done
out "Running rc.local..."; {
[ -r "/etc/init/rc.local" ] && \