Subject: Re: alpinelinux 3.11How to run script on startup

From: Hilmi Esen <[email-masked]>
Date: Mon, 2 Mar 2020 22:07:12 +0000

Hi Eduardo

You should run the following command to echo message of rc.local

echo "rc_verbose=yes" > /etc/conf.d/local

iPhone’umdan gönderildi

Eduardo Gonçalves <[email-masked]> şunları yazdı (2 Mar 2020 20:29):

Hello,
In fact it’s running but it’s not echoing msgs in startup as it used to echo in version alpine:3.8

Em seg, 2 de mar de 2020 às 13:18, Konstantin Kulikov <[email-masked]<mailto:[email-masked]>> escreveu:
On 3/2/20 6:30 PM, Eduardo Gonçalves wrote:
> Hi,
> I need help on add a script to run on startup on alpinelinux 3.11.
>
> I've added my script to /etc/local.d/myscript.start and
> enable: rc-update add local default
>
> but it is not running on system startup.

Did you mark your script as executable (chmod +x
/etc/local.d/myscript.start)?