From de36dc29ca74f8c91358652a131a535e47975652 Mon Sep 17 00:00:00 2001 From: Cem Keylan Date: Sat, 16 May 2020 11:57:15 +0300 Subject: rc.boot: add deprecation notice for 'rc.local' --- rc.boot | 6 ++++-- 1 file 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 } -- cgit v1.2.3