Hello !
After Today's upgrade I noticed:
> (1/3) upgrading dinit-rc [####################################################################] 100%
> == ATTENTION! ==
> We made some important changes so you might need to move some of your files if
> you modified it previously.
>
> - /etc/dinit.d/config/hwclock.conf has been moved to /etc/hwclock.conf
> - /etc/dinit.d/config/rc.local has been moved to /etc/rc.local
> - /etc/dinit.d/config/rc.shutdown has been moved to /etc/rc.shutdown
>
> If you didn't modify any of these files, there shouldn't be any problem.
> Otherwise, you may want to move your configurations to reflect the new
> structure, particularly /etc/rc.local and /etc/rc.shutdown.
>
> For more information, see forum post:
>
> https://forum.artixlinux.org/index.php/topic,6972.html
I also checked on the the forum topi referenced in the message...
I didn't have custom settings on any of those, but I do have:
> % ls /etc/local.d/
> rc.start rc.stop
scripts. So I would expect other scripts to call for those, but after the upgrade, I don't find:
> /etc/dinit.d/config/rc.local
> /etc/dinit.d/config/rc.shutdown
although both the upgrade message and the referenced forum URL indicate they should be there. The past config files had:
> % cat /etc/dinit.d/config/rc.local
> #!/bin/sh
>
> # /etc/dinit.d/config/rc.local -- rc.local for Artix Linux
> #
>
> if [ -d /etc/local.d ]; then
> for file in /etc/local.d/*.start; do
> sh "$file"
> done
> fi
>
> # Enter your custom commands here.
and:
> % cat /etc/dinit.d/config/rc.shutdown
> #!/bin/sh
>
> # /etc/dinit.d/config/rc.shutdown -- rc.shutdown for Artix Linux
> #
>
> if [ -d /etc/local.d ]; then
> for file in /etc/local.d/*.stop; do
> sh "$file"
> done
> fi
>
> # Enter your custom commands here.
Should I manually write them down? Did they move some other place rather than the one mentioned in both the upgrade message and the referenced forum?
I do expect my "rc.start" and "rc.stop" scripts on "/etc/local.d/" to still be automatically called, but I'm not sure if they are, since the scripts calling them went away...
Thanks !
--
Javier
-------------- next part --------------
A non-text attachment was scrubbed...
Name: OpenPGP_signature.asc
Type: application/pgp-signature
Size: 228 bytes
Desc: OpenPGP digital signature
URL: <https://lists.artixlinux.org/archives/artix-general/attachments/20240610/37bd2d3e/attachment.sig>
More information about the artix-general
mailing list