Sujet : Re: Execution of setupcon at boot
De : cl (at) *nospam* isbd.net (Chris Green)
Groupes : comp.sys.raspberry-pi alt.os.linux.debianDate : 16. Sep 2024, 07:18:06
Autres entêtes
Message-ID : <u5vkrk-clq7.ln1@q957.zbmc.eu>
References : 1
User-Agent : tin/2.6.4-20240224 ("Banff") (Linux/6.8.0-41-generic (x86_64))
Anton Shepelev <
ant@tilde.culb> wrote:
Hello, all
On RPi OS Bookworm, console and keyboard initialisation via `setupcon' seem
doubly duplicated (sic), and I am x-posting this to .debian because it
may not be speific to Pi OS:
1. in that systemd services and init.d scripts do the same thing:
/etc/init.d:
console-setup.sh -> /lib/console-setup/console-setup.sh
keyboard-setup.sh -> /lib/console-setup/keyboard-setup.sh
/usr/lib/systemd/system:
console-setup.service -> /lib/console-setup/console-setup.sh
keyboard-setup.service -> /lib/console-setup/keyboard-setup.sh
2. in that /lib/console-setup/console-setup.sh includes both console and
keyboard setup, making keyboard-setup.sh redundant.
Isn't the init.d startup actually emulated by systemd when a system
uses systemd? The files still exist but the implementation is systemd.
-- Chris Green·