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
Therefore, I think that all this confusing complexity can be reduced to
a very simple invocation that configures both keyboard and console:
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.
Anton Shepelev <ant@tilde.culb> wrote:
Isn't the init.d startup actually emulated by systemd when a system
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.
uses systemd? The files still exist but the implementation is systemd.
On Sun, 15 Sep 2024 21:20:37 -0000 (UTC), Anton Shepelev wrote:
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
Remember that systemd includes a high degree of backward compatibility
with old sysvinit scripts. That would be why you see the exact same
things showing up in both init.d and systemd. This way, systemctl start/stop is able to start/stop sysvinit scripts, without you having
to know the difference.
Therefore, I think that all this confusing complexity can be reduced to
a very simple invocation that configures both keyboard and console:
Well, the only way to know for sure is to try it.
Sysop: | Weed Hopper |
---|---|
Location: | Clearwater, FL |
Users: | 14 |
Nodes: | 6 (0 / 6) |
Uptime: | 231:25:39 |
Calls: | 55 |
Calls today: | 1 |
Files: | 50,127 |
D/L today: |
29 files (3,538K bytes) |
Messages: | 275,359 |