aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCem Keylan <cem@ckyln.com>2020-05-16 11:57:15 +0300
committerCem Keylan <cem@ckyln.com>2020-05-16 11:57:15 +0300
commitde36dc29ca74f8c91358652a131a535e47975652 (patch)
tree12dced63b7156379d569c15ea9615e5770270afd
parentb8b9c52a05f77b72a9ecfcf7d7759b61fa27bf80 (diff)
downloadinit-de36dc29ca74f8c91358652a131a535e47975652.tar.gz
rc.boot: add deprecation notice for 'rc.local'
-rwxr-xr-xrc.boot6
1 files changed, 4 insertions, 2 deletions
diff --git a/rc.boot b/rc.boot
index c02d4c2..e552f3f 100755
--- a/rc.boot
+++ b/rc.boot
@@ -129,9 +129,11 @@ command -v udevd >/dev/null &&
run_hook boot
+# rc.local is deprecated and will be removed in
+# a month. You should switch to boot hooks
out "Running rc.local..."; {
- [ -r "/etc/init/rc.local" ] && \
- . /etc/init/rc.local
+[ -r "/etc/init/rc.local" ] && \
+ . /etc/init/rc.local
}